/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/rust/crates/rustix/src/backend/linux_raw/io/ |
D | epoll.rs | 120 epoll_fd: OwnedFd, field 135 epoll_fd: epoll_create(flags)?, in new() 158 self.epoll_fd.as_fd(), in add() 185 self.epoll_fd.as_fd(), in mod_() 205 epoll_del(self.epoll_fd.as_fd(), raw_fd)?; in del() 226 self.epoll_fd.as_fd(), in wait() 242 self.epoll_fd.as_raw_fd() in as_raw_fd() 249 self.epoll_fd.into_raw_fd() in into_raw_fd() 257 epoll_fd: OwnedFd::from_raw_fd(fd), in from_raw_fd() 266 self.epoll_fd.as_fd() in as_fd() [all …]
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
D | epoll.rs | 120 epoll_fd: OwnedFd, field 136 epoll_fd: ret_owned_fd(c::epoll_create1(flags.bits()))?, in new() 160 self.epoll_fd.as_fd().as_raw_fd(), in add() 188 self.epoll_fd.as_fd().as_raw_fd(), in mod_() 210 self.epoll_fd.as_fd().as_raw_fd(), in del() 235 self.epoll_fd.as_fd().as_raw_fd(), in wait() 251 self.epoll_fd.as_raw_fd() in as_raw_fd() 258 self.epoll_fd.into_raw_fd() in into_raw_fd() 266 epoll_fd: OwnedFd::from_raw_fd(fd), in from_raw_fd() 275 self.epoll_fd.as_fd() in as_fd() [all …]
|
/third_party/libbpf/src/ |
D | ringbuf.c | 39 int epoll_fd; member 51 int epoll_fd; member 153 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { in ring_buffer__add() 174 if (rb->epoll_fd >= 0) in ring_buffer__free() 175 close(rb->epoll_fd); in ring_buffer__free() 198 rb->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in ring_buffer__new() 199 if (rb->epoll_fd < 0) { in ring_buffer__new() 302 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll() 323 return rb->epoll_fd; in ring_buffer__epoll_fd() 345 if (rb->epoll_fd >= 0) in user_ring_buffer__free() [all …]
|
D | libbpf.c | 12064 int epoll_fd; /* perf event FD */ member 12102 if (pb->epoll_fd >= 0) 12103 close(pb->epoll_fd); 12267 pb->epoll_fd = epoll_create1(EPOLL_CLOEXEC); 12268 if (pb->epoll_fd < 0) { 12339 if (epoll_ctl(pb->epoll_fd, EPOLL_CTL_ADD, cpu_buf->fd, 12423 return pb->epoll_fd; 12430 cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms);
|
/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/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/libinput/tools/ |
D | libinput-record.c | 122 int epoll_fd; member 2090 if (epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, fd, &ep) < 0) { in add_source() 2102 epoll_ctl(ctx->epoll_fd, EPOLL_CTL_DEL, source->fd, NULL); in destroy_source() 2176 count = epoll_wait(ctx->epoll_fd, ep, ARRAY_LENGTH(ep), ctx->timeout); in dispatch_sources() 2202 ctx->epoll_fd = epoll_create1(0); in mainloop() 2203 assert(ctx->epoll_fd >= 0); in mainloop() 2364 close(ctx->epoll_fd); in mainloop()
|
/third_party/libinput/src/ |
D | libinput.c | 1829 if (epoll_ctl(libinput->epoll_fd, EPOLL_CTL_ADD, fd, &ep) < 0) { in libinput_add_fd() 1841 epoll_ctl(libinput->epoll_fd, EPOLL_CTL_DEL, source->fd, NULL); in libinput_remove_source() 1855 libinput->epoll_fd = epoll_create1(EPOLL_CLOEXEC); in libinput_init() 1856 if (libinput->epoll_fd < 0) in libinput_init() 1874 close(libinput->epoll_fd); in libinput_init() 1992 close(libinput->epoll_fd); in libinput_unref() 2181 return libinput->epoll_fd; in libinput_get_fd() 2200 count = epoll_wait(libinput->epoll_fd, ep, ARRAY_LENGTH(ep), 0); in libinput_dispatch()
|
D | libinput-private.h | 129 int epoll_fd; member
|