Home
last modified time | relevance | path

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

1234

/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c115 struct lws_pollfd eventfd; in lws_glib_dispatch() local
119 eventfd.revents = (short)cond; in lws_glib_dispatch()
124 eventfd.revents |= LWS_POLLIN; in lws_glib_dispatch()
126 eventfd.revents |= LWS_POLLOUT; in lws_glib_dispatch()
128 eventfd.revents |= LWS_POLLHUP; in lws_glib_dispatch()
130 eventfd.revents |= LWS_POLLHUP; in lws_glib_dispatch()
132 eventfd.events = eventfd.revents; in lws_glib_dispatch()
133 eventfd.fd = sub->wsi->desc.sockfd; in lws_glib_dispatch()
136 eventfd.fd, eventfd.revents); in lws_glib_dispatch()
142 lws_service_fd_tsi(sub->wsi->a.context, &eventfd, sub->wsi->tsi); in lws_glib_dispatch()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c102 struct lws_pollfd eventfd; in lws_uloop_cb() local
104 eventfd.fd = wu->wsi->desc.sockfd; in lws_uloop_cb()
105 eventfd.events = 0; in lws_uloop_cb()
106 eventfd.revents = 0; in lws_uloop_cb()
109 eventfd.events = LWS_POLLIN; in lws_uloop_cb()
110 eventfd.revents = LWS_POLLIN; in lws_uloop_cb()
113 eventfd.events |= LWS_POLLOUT; in lws_uloop_cb()
114 eventfd.revents |= LWS_POLLOUT; in lws_uloop_cb()
121 lws_service_fd_tsi(context, &eventfd, wu->wsi->tsi); in lws_uloop_cb()
/third_party/libwebsockets/lib/event-libs/sdevent/
Dsdevent.c98 struct lws_pollfd eventfd; in sock_accept_handler() local
106 eventfd.fd = fd; in sock_accept_handler()
107 eventfd.events = 0; in sock_accept_handler()
108 eventfd.revents = 0; in sock_accept_handler()
111 eventfd.events |= LWS_POLLIN; in sock_accept_handler()
112 eventfd.revents |= LWS_POLLIN; in sock_accept_handler()
116 eventfd.events |= LWS_POLLOUT; in sock_accept_handler()
117 eventfd.revents |= LWS_POLLOUT; in sock_accept_handler()
123 lws_service_fd_tsi(context, &eventfd, wsi->tsi); in sock_accept_handler()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Deventfd.c26 int ret = eventfd(0, EFD_SEMAPHORE); in eventfd_0100()
37 int ret = eventfd(0, EFD_CLOEXEC); in eventfd_0200()
48 int ret = eventfd(0, EFD_NONBLOCK); in eventfd_0300()
Deventfd_read.c28 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_read_0100()
68 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_read_0300()
Deventfd_write.c29 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_write_0100()
78 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_write_0300()
Dtest_src_functionalext_supplement_linux.gni52 "eventfd",
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c95 struct lws_pollfd eventfd; in lws_accept_cb() local
101 eventfd.fd = watcher->fd; in lws_accept_cb()
102 eventfd.events = 0; in lws_accept_cb()
103 eventfd.revents = EV_NONE; in lws_accept_cb()
106 eventfd.events |= LWS_POLLIN; in lws_accept_cb()
107 eventfd.revents |= LWS_POLLIN; in lws_accept_cb()
110 eventfd.events |= LWS_POLLOUT; in lws_accept_cb()
111 eventfd.revents |= LWS_POLLOUT; in lws_accept_cb()
118 lws_service_fd_tsi(context, &eventfd, (int)wsi->tsi); in lws_accept_cb()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c109 struct lws_pollfd eventfd; in lws_event_cb() local
125 eventfd.fd = sock_fd; in lws_event_cb()
126 eventfd.events = 0; in lws_event_cb()
127 eventfd.revents = 0; in lws_event_cb()
129 eventfd.events |= LWS_POLLIN; in lws_event_cb()
130 eventfd.revents |= LWS_POLLIN; in lws_event_cb()
133 eventfd.events |= LWS_POLLOUT; in lws_event_cb()
134 eventfd.revents |= LWS_POLLOUT; in lws_event_cb()
145 lws_service_fd_tsi(context, &eventfd, wsi->tsi); in lws_event_cb()
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c99 struct lws_pollfd eventfd; in lws_io_cb() local
114 eventfd.fd = watcher->socket; in lws_io_cb()
116 eventfd.fd = watcher->io_watcher.fd; in lws_io_cb()
118 eventfd.events = 0; in lws_io_cb()
119 eventfd.revents = 0; in lws_io_cb()
131 eventfd.events |= LWS_POLLHUP; in lws_io_cb()
132 eventfd.revents |= LWS_POLLHUP; in lws_io_cb()
135 eventfd.events |= LWS_POLLIN; in lws_io_cb()
136 eventfd.revents |= LWS_POLLIN; in lws_io_cb()
139 eventfd.events |= LWS_POLLOUT; in lws_io_cb()
[all …]
/third_party/rust/crates/rustix/src/io/
Deventfd.rs14 pub fn eventfd(initval: u32, flags: EventfdFlags) -> io::Result<OwnedFd> { in eventfd() function
15 backend::io::syscalls::eventfd(initval, flags) in eventfd()
Dmod.rs10 mod eventfd; module
37 pub use eventfd::{eventfd, EventfdFlags};
/third_party/rust/crates/nix/src/sys/
Deventfd.rs13 pub fn eventfd(initval: libc::c_uint, flags: EfdFlags) -> Result<RawFd> { in eventfd() function
14 let res = unsafe { libc::eventfd(initval, flags.bits()) }; in eventfd()
/third_party/rust/crates/rustix/tests/io/
Deventfd.rs4 use rustix::io::{eventfd, read, write, EventfdFlags}; in test_eventfd()
8 let efd = eventfd(0, EventfdFlags::CLOEXEC).unwrap(); in test_eventfd()
Dmain.rs18 mod eventfd; module
/third_party/musl/ndk_musl_include/sys/
Deventfd.h17 int eventfd(unsigned int, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Deventfd.h17 int eventfd(unsigned int, int);
/third_party/musl/include/sys/
Deventfd.h17 int eventfd(unsigned int, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Deventfd.h17 int eventfd(unsigned int, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
Deventfd.h17 int eventfd(unsigned int, int);
/third_party/pulseaudio/src/pulsecore/
Dfdsem.c63 if ((f->efd = eventfd(0, EFD_CLOEXEC)) >= 0) in pa_fdsem_new()
110 if ((f->efd = eventfd(0, EFD_CLOEXEC)) < 0) { in pa_fdsem_new_shm()
/third_party/musl/src/linux/
Deventfd.c6 int eventfd(unsigned int count, int flags) in eventfd() function
/third_party/libwebsockets/lib/plat/unix/
Dunix-pipe.c37 pt->dummy_pipe_fds[0] = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in lws_plat_pipe_create()
/third_party/openssl/engines/
De_afalg.txt9 AFALG_R_EVENTFD_FAILED:108:eventfd failed
/third_party/rust/crates/libc/src/unix/solarish/
Dillumos.rs72 pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int; in eventfd() function

1234