| /netbsd-src/sys/kern/ |
| H A D | sys_eventfd.c | 63 struct eventfd { struct 89 static struct eventfd * 92 struct eventfd * const efd = kmem_zalloc(sizeof(*efd), KM_SLEEP); in eventfd_create() 114 eventfd_destroy(struct eventfd * const efd) in eventfd_destroy() 137 eventfd_wait(struct eventfd * const efd, int const fflag, bool const is_write) in eventfd_wait() 184 eventfd_wake(struct eventfd * const efd, bool const is_write) in eventfd_wake() 211 struct eventfd * const efd = fp->f_eventfd; in eventfd_fop_read() 251 struct eventfd * const efd = fp->f_eventfd; in eventfd_fop_write() 301 struct eventfd * const efd = fp->f_eventfd; in eventfd_ioctl() 334 struct eventfd * const efd = fp->f_eventfd; in eventfd_fop_poll() [all …]
|
| /netbsd-src/tests/lib/libc/sys/ |
| H A D | t_eventfd.c | 179 ATF_REQUIRE((ctx.efd = eventfd(0, 0)) >= 0); in ATF_TC_BODY() 231 ATF_REQUIRE((efd = eventfd(3, EFD_SEMAPHORE | EFD_NONBLOCK)) >= 0); in ATF_TC_BODY() 279 ATF_REQUIRE((efd = eventfd(0, EFD_NONBLOCK)) >= 0); in ATF_TC_BODY() 510 ATF_REQUIRE((ctx.efd = eventfd(0, EFD_NONBLOCK)) >= 0); in ATF_TC_BODY() 696 ATF_REQUIRE((ctx.efd = eventfd(1, 0)) >= 0); in ATF_TC_BODY() 737 eventfd(0, ~(EFD_SEMAPHORE | EFD_CLOEXEC | EFD_NONBLOCK)) == -1); in ATF_TC_BODY() 753 ATF_REQUIRE((efd = eventfd(1, EFD_NONBLOCK)) >= 0); in ATF_TC_BODY() 791 ATF_REQUIRE((efd = eventfd(1, 0)) >= 0); in ATF_TC_BODY() 806 ATF_REQUIRE((efd = eventfd(1, EFD_NONBLOCK | EFD_CLOEXEC)) >= 0); in ATF_TC_BODY()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/sys/ |
| H A D | eventfd.d | 7 module core.sys.linux.sys.eventfd; 38 int eventfd (uint count, int flags);
|
| /netbsd-src/sys/sys/ |
| H A D | eventfd.h | 53 int eventfd(unsigned int, int);
|
| H A D | file.h | 114 struct eventfd *fd_eventfd; // DTYPE_EVENTFD
|
| H A D | Makefile | 21 efiio.h endian.h envsys.h errno.h evcnt.h event.h eventfd.h exec.h \
|
| /netbsd-src/crypto/external/bsd/openssl/dist/engines/ |
| H A D | e_afalg.txt | 9 AFALG_R_EVENTFD_FAILED:108:eventfd failed
|
| H A D | e_afalg.c | 112 static ossl_inline int eventfd(int n) in eventfd() function 207 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 232 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/engines/ |
| H A D | e_afalg.txt | 18 AFALG_R_EVENTFD_FAILED:108:eventfd failed
|
| H A D | e_afalg.c | 109 static ossl_inline int eventfd(int n) in eventfd() function 159 aio->efd = eventfd(0); in afalg_setup_async_event_notification() 184 aio->efd = eventfd(0); in afalg_setup_async_event_notification()
|
| /netbsd-src/lib/libc/sys/ |
| H A D | Makefile.inc | 106 eventfd.S \ 263 connect.2 dup.2 eventfd.2 execve.2 _exit.2 extattr_get_file.2 \ 311 MLINKS+=eventfd.2 eventfd_read.2 \ 312 eventfd.2 eventfd_write.2
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | async.c | 210 err = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in uv__async_start()
|
| /netbsd-src/external/bsd/libevent/dist/ |
| H A D | event-config.h.cmake | 105 /* Define to 1 if you have the `eventfd' function. */ 340 /* Define to 1 if you have the <sys/eventfd.h> header file. */
|
| H A D | config.h.in | 59 /* Define to 1 if you have the `eventfd' function. */ 302 /* Define to 1 if you have the <sys/eventfd.h> header file. */
|
| H A D | configure.ac | 238 sys/eventfd.h \ 365 eventfd \
|
| H A D | evutil.c | 2739 r = eventfd(initval, flags); in evutil_eventfd_() 2743 r = eventfd(initval, 0); in evutil_eventfd_()
|
| H A D | CMakeLists.txt | 404 sys/eventfd.h 479 eventfd
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_interceptors.cc | 1546 TSAN_INTERCEPTOR(int, eventfd, unsigned initval, int flags) { in TSAN_INTERCEPTOR() argument 1547 SCOPED_TSAN_INTERCEPTOR(eventfd, initval, flags); in TSAN_INTERCEPTOR() 1548 int fd = REAL(eventfd)(initval, flags); in TSAN_INTERCEPTOR() 1553 #define TSAN_MAYBE_INTERCEPT_EVENTFD TSAN_INTERCEPT(eventfd)
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| H A D | tsan_interceptors_posix.cpp | 1654 TSAN_INTERCEPTOR(int, eventfd, unsigned initval, int flags) { in TSAN_INTERCEPTOR() argument 1655 SCOPED_TSAN_INTERCEPTOR(eventfd, initval, flags); in TSAN_INTERCEPTOR() 1656 int fd = REAL(eventfd)(initval, flags); in TSAN_INTERCEPTOR() 1661 #define TSAN_MAYBE_INTERCEPT_EVENTFD TSAN_INTERCEPT(eventfd)
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_interceptors.cc | 1588 TSAN_INTERCEPTOR(int, eventfd, unsigned initval, int flags) { in TSAN_INTERCEPTOR() argument 1589 SCOPED_TSAN_INTERCEPTOR(eventfd, initval, flags); in TSAN_INTERCEPTOR() 1590 int fd = REAL(eventfd)(initval, flags); in TSAN_INTERCEPTOR() 1595 #define TSAN_MAYBE_INTERCEPT_EVENTFD TSAN_INTERCEPT(eventfd)
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/ |
| H A D | Makefile.am | 253 core/sys/linux/sys/auxv.d core/sys/linux/sys/eventfd.d \
|
| H A D | Makefile.in | 334 core/sys/linux/sys/auxv.lo core/sys/linux/sys/eventfd.lo \ 873 core/sys/linux/sys/auxv.d core/sys/linux/sys/eventfd.d \ 1519 core/sys/linux/sys/eventfd.lo: core/sys/linux/sys/$(am__dirstamp)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/ |
| H A D | Makefile.am | 277 core/sys/linux/sys/auxv.d core/sys/linux/sys/eventfd.d \
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2723 PRE_SYSCALL(eventfd)(long count) {} 2725 POST_SYSCALL(eventfd)(long res, long count) {}
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2721 PRE_SYSCALL(eventfd)(long count) {} 2723 POST_SYSCALL(eventfd)(long res, long count) {}
|