Home
last modified time | relevance | path

Searched refs:eventfd (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/sys/kern/
H A Dsys_eventfd.c63 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 Dt_eventfd.c179 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 Deventfd.d7 module core.sys.linux.sys.eventfd;
38 int eventfd (uint count, int flags);
/netbsd-src/sys/sys/
H A Deventfd.h53 int eventfd(unsigned int, int);
H A Dfile.h114 struct eventfd *fd_eventfd; // DTYPE_EVENTFD
H A DMakefile21 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 De_afalg.txt9 AFALG_R_EVENTFD_FAILED:108:eventfd failed
H A De_afalg.c112 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 De_afalg.txt18 AFALG_R_EVENTFD_FAILED:108:eventfd failed
H A De_afalg.c109 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 DMakefile.inc106 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 Dasync.c210 err = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in uv__async_start()
/netbsd-src/external/bsd/libevent/dist/
H A Devent-config.h.cmake105 /* Define to 1 if you have the `eventfd' function. */
340 /* Define to 1 if you have the <sys/eventfd.h> header file. */
H A Dconfig.h.in59 /* Define to 1 if you have the `eventfd' function. */
302 /* Define to 1 if you have the <sys/eventfd.h> header file. */
H A Dconfigure.ac238 sys/eventfd.h \
365 eventfd \
H A Devutil.c2739 r = eventfd(initval, flags); in evutil_eventfd_()
2743 r = eventfd(initval, 0); in evutil_eventfd_()
H A DCMakeLists.txt404 sys/eventfd.h
479 eventfd
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_interceptors.cc1546 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 Dtsan_interceptors_posix.cpp1654 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 Dtsan_interceptors.cc1588 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 DMakefile.am253 core/sys/linux/sys/auxv.d core/sys/linux/sys/eventfd.d \
H A DMakefile.in334 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 DMakefile.am277 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 Dsanitizer_common_syscalls.inc2723 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 Dsanitizer_common_syscalls.inc2721 PRE_SYSCALL(eventfd)(long count) {}
2723 POST_SYSCALL(eventfd)(long res, long count) {}

12