Home
last modified time | relevance | path

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

12

/netbsd/src/sys/kern/
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/
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/sys/sys/
Deventfd.h53 int eventfd(unsigned int, int);
Dfile.h114 struct eventfd *fd_eventfd; // DTYPE_EVENTFD
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/
De_afalg.txt9 AFALG_R_EVENTFD_FAILED:108:eventfd failed
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/lib/libc/sys/
DMakefile.inc106 eventfd.S \
263 connect.2 dup.2 eventfd.2 execve.2 _exit.2 extattr_get_file.2 \
312 MLINKS+=eventfd.2 eventfd_read.2 \
313 eventfd.2 eventfd_write.2
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/
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. */
Dconfig.h.in59 /* Define to 1 if you have the `eventfd' function. */
305 /* Define to 1 if you have the <sys/eventfd.h> header file. */
Dconfigure.ac238 sys/eventfd.h \
365 eventfd \
Devutil.c2737 r = eventfd(initval, flags); in evutil_eventfd_()
2741 r = eventfd(initval, 0); in evutil_eventfd_()
DCMakeLists.txt404 sys/eventfd.h
479 eventfd
Dwhatsnew-2.1.txt643 to wake up. On Linux, we've been able to use eventfd() instead. Now
DChangeLog-2.01269 …o Refactor internal notify-main-thread logic to prefer eventfd to pipe, then pipe to socketpair, a…
/netbsd/src/external/bsd/libevent/dist/
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. */
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. */
Dconfigure.ac238 sys/eventfd.h \
365 eventfd \
Devutil.c2739 r = eventfd(initval, flags); in evutil_eventfd_()
2743 r = eventfd(initval, 0); in evutil_eventfd_()
DCMakeLists.txt404 sys/eventfd.h
479 eventfd
Dwhatsnew-2.1.txt643 to wake up. On Linux, we've been able to use eventfd() instead. Now
DChangeLog1916 pipe/socketpair/eventfd (ca76cd9)
/netbsd/src/external/bsd/libpcap/dist/
Dpcap-linux.c1122 handlep->poll_breakloop_fd = eventfd(0, EFD_NONBLOCK); in pcap_activate_linux()
3429 … if ( ( handlep->poll_breakloop_fd = eventfd(0, EFD_NONBLOCK) ) == -1 ) { in pcap_setnonblock_linux()
DCHANGES265 Don't have an eventfd descriptor open in non-blocking mode, so as
/netbsd/src/doc/
DBRANCHES773 Also includes implementations of eventfd and timerfd, as

12