/third_party/ltp/testcases/kernel/syscalls/epoll/ |
D | epoll-ltp.c | 174 #define PROTECT_FUNC(fn, errval, epoll_fd) ( \ argument 182 return fn(epoll_fd); \ 205 int epoll_fd = -1; in test_epoll_create() local 215 epoll_fd = epoll_create(fd_set_size); in test_epoll_create() 216 if (epoll_fd >= 0) { in test_epoll_create() 220 close(epoll_fd); in test_epoll_create() 238 epoll_fd = epoll_create(fd_set_size); in test_epoll_create() 239 if (epoll_fd == -1) { in test_epoll_create() 254 close(epoll_fd); in test_epoll_create() 264 epoll_fd = epoll_create(fd_set_size); in test_epoll_create() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | epoll_pwait.c | 37 int epoll_fd = epoll_create(1); in epoll_pwait_0100() local 38 if (epoll_fd == -1) { in epoll_pwait_0100() 43 int result = epoll_pwait(epoll_fd, events, 1, 1, NULL); in epoll_pwait_0100() 56 int epoll_fd = epoll_create(1); in epoll_pwait_0200() local 57 if (epoll_fd == -1) { in epoll_pwait_0200() 66 int result = epoll_pwait(epoll_fd, events, 1, 1, &ss); in epoll_pwait_0200()
|
D | epoll_wait.c | 36 int epoll_fd = epoll_create(1); in epoll_wait_0100() local 37 if (epoll_fd == -1) { in epoll_wait_0100() 42 int result = epoll_wait(epoll_fd, events, 1, 1); in epoll_wait_0100()
|
D | epoll_create.c | 37 int epoll_fd = epoll_create(1); in epoll_create_0100() local 38 if (epoll_fd == -1) { in epoll_create_0100()
|
/third_party/wayland_standard/src/ |
D | event-loop.c | 71 int epoll_fd; member 141 if (epoll_ctl(loop->epoll_fd, EPOLL_CTL_ADD, source->fd, &ep) < 0) { in add_source() 227 return epoll_ctl(loop->epoll_fd, EPOLL_CTL_MOD, source->fd, &ep); in wl_event_source_fd_update() 323 if (epoll_ctl(timers->base.loop->epoll_fd, in wl_timer_heap_ensure_timerfd() 836 epoll_ctl(loop->epoll_fd, EPOLL_CTL_DEL, source->fd, NULL); in wl_event_source_remove() 892 loop->epoll_fd = wl_os_epoll_create_cloexec(); in wl_event_loop_create() 893 if (loop->epoll_fd < 0) { in wl_event_loop_create() 928 close(loop->epoll_fd); in wl_event_loop_destroy() 1004 count = epoll_wait(loop->epoll_fd, ep, ARRAY_LENGTH(ep), timeout); in wl_event_loop_dispatch() 1058 return loop->epoll_fd; in wl_event_loop_get_fd()
|
/third_party/grpc/test/core/network_benchmarks/ |
D | low_level_ping_pong.cc | 59 int epoll_fd; member 153 err = epoll_wait(args->epoll_fd, &ev, 1, spin ? 0 : -1); in epoll_read_bytes() 235 int epoll_fd; in epoll_setup() local 238 epoll_fd = epoll_create(1); in epoll_setup() 239 if (epoll_fd < 0) { in epoll_setup() 244 args->epoll_fd = epoll_fd; in epoll_setup() 248 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, args->fds.read_fd, &ev) < 0) { in epoll_setup()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | daemon.c | 732 return add_to_fd_set (daemon->epoll_fd, read_fd_set, max_fd, fd_setsize); in MHD_get_fdset2() 1550 if (0 != epoll_ctl (daemon->epoll_fd, in internal_add_connection() 1672 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_suspend_connection() 2020 (MHD_INVALID_SOCKET != daemon->epoll_fd) && in MHD_cleanup_connections() 2029 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_cleanup_connections() 2182 if (daemon->epoll_fd >= FD_SETSIZE) in MHD_run_from_select() 2184 if (FD_ISSET (daemon->epoll_fd, read_fd_set)) in MHD_run_from_select() 2650 if (-1 == daemon->epoll_fd) in MHD_epoll() 2660 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_epoll() 2679 if (0 != epoll_ctl (daemon->epoll_fd, in MHD_epoll() [all …]
|
D | internal.h | 1135 int epoll_fd; member
|
D | connection.c | 2727 if (0 != epoll_ctl (daemon->epoll_fd,
|
/third_party/grpc/doc/core/ |
D | epoll-polling-engine.md | 34 …3]. Instead, they call `poll()` on the set containing `[event_fd`[^4]`, epoll_fd]`. **(see Figure … 63 * `epoll_fd`: The file descriptor of the underlying epoll set 88 …ling_island`'s `epoll_fd` (by signaling the `event_fd` on that island) and make them now wait on t… 95 … also meant that every thread has to use a `poll()` (on `event_fd` and `epoll_fd`) instead of doin… 105 …where every thread does a blocking `poll()` on its `wakeup_fd` and the `epoll_fd`). The function`… 117 …epoll_fd]`. If the `poll()` returns due to an event of interest in the epoll set, they then call …
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/multi-touch-viewer/src/ |
D | window.c | 291 epoll_ctl(p_display->epoll_fd, in handle_display_data() 310 epoll_ctl(p_display->epoll_fd, EPOLL_CTL_ADD, fd, &ep); in display_watch_fd() 524 p_display->epoll_fd = os_epoll_create_cloexec(); in CreateDisplay() 659 epoll_ctl(p_display->epoll_fd, EPOLL_CTL_MOD, in DisplayRun() 667 count = epoll_wait(p_display->epoll_fd, ep, ARRAY_LENGTH(ep), 1); in DisplayRun()
|
/third_party/libcoap/man/ |
D | coap_io.txt.in | 360 int epoll_fd; 382 epoll_fd = epoll_create1(0); 383 if (epoll_fd == -1) { 388 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, coap_fd, &ev) == -1) { 397 nevents = epoll_wait(epoll_fd, events, MAX_EVENTS, -1); 419 if (epoll_ctl(epoll_fd, EPOLL_CTL_DEL, coap_fd, &ev) == -1) {
|
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/multi-touch-viewer/include/ |
D | window.h | 62 int epoll_fd; member
|
/third_party/weston/compositor/ |
D | screen-share.c | 935 int epoll_fd; in shared_output_create() local 997 epoll_fd = wl_display_get_fd(so->parent.display); in shared_output_create() 999 wl_event_loop_add_fd(loop, epoll_fd, WL_EVENT_READABLE, in shared_output_create()
|
/third_party/libinput/src/ |
D | libinput.c | 1744 if (epoll_ctl(libinput->epoll_fd, EPOLL_CTL_ADD, fd, &ep) < 0) { in libinput_add_fd() 1756 epoll_ctl(libinput->epoll_fd, EPOLL_CTL_DEL, source->fd, NULL); in libinput_remove_source() 1770 libinput->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in libinput_init() 1771 if (libinput->epoll_fd < 0) in libinput_init() 1789 close(libinput->epoll_fd); in libinput_init() 1908 close(libinput->epoll_fd); in libinput_unref() 2097 return libinput->epoll_fd; in libinput_get_fd() 2116 count = epoll_wait(libinput->epoll_fd, ep, ARRAY_LENGTH(ep), 0); in libinput_dispatch()
|
D | libinput-private.h | 123 int epoll_fd; member
|
/third_party/weston/clients/ |
D | window.c | 122 int epoll_fd; member 6213 epoll_ctl(display->epoll_fd, EPOLL_CTL_MOD, in handle_display_data() 6254 d->epoll_fd = os_epoll_create_cloexec(); in display_create() 6352 close(display->epoll_fd); in display_destroy() 6479 epoll_ctl(display->epoll_fd, EPOLL_CTL_ADD, fd, &ep); in display_watch_fd() 6485 epoll_ctl(display->epoll_fd, EPOLL_CTL_DEL, fd, NULL); in display_unwatch_fd() 6515 epoll_ctl(display->epoll_fd, EPOLL_CTL_MOD, in display_run() 6521 count = epoll_wait(display->epoll_fd, in display_run()
|