/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
H A D | epoll_wait01.c | 10 * Basic test for epoll_wait. Check that epoll_wait works for EPOLLOUT and 103 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollout() 106 tst_res(TFAIL | TTERRNO, "epoll_wait() epollout failed"); in verify_epollout() 111 tst_res(TFAIL, "epoll_wait() returned %li, expected 1", in verify_epollout() 128 tst_res(TPASS, "epoll_wait() epollout"); in verify_epollout() 141 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollin() 144 tst_res(TFAIL | TTERRNO, "epoll_wait() epollin failed"); in verify_epollin() 149 tst_res(TFAIL, "epoll_wait() returned %li, expected 1", in verify_epollin() 166 tst_res(TPASS, "epoll_wait() epolli in verify_epollin() [all...] |
H A D | epoll_wait02.c | 11 * Check that epoll_wait(2) timeouts correctly. 30 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn() 35 tst_res(TFAIL | TTERRNO, "epoll_wait() returned %li", TST_RET); in sample_fn() 69 .scall = "epoll_wait()",
|
H A D | epoll_wait04.c | 10 * Check that a timeout equal to zero causes epoll_wait() to return immediately. 28 TEST(epoll_wait(epfd, epevs, 1, 0)); in run() 32 tst_res(TFAIL | TTERRNO, "epoll_wait() returned %li", TST_RET); in run() 35 tst_res(TPASS, "epoll_wait() returns immediately with a timeout equal to zero"); in run() 37 tst_res(TFAIL, "epoll_wait() waited for %llius with a timeout equal to zero", in run()
|
H A D | epoll_wait03.c | 11 * Basic test for epoll_wait: 13 * - epoll_wait fails with EBADF if epfd is not a valid file descriptor. 14 * - epoll_wait fails with EINVAL if epfd is not an epoll file descriptor. 15 * - epoll_wait fails with EINVAL if maxevents is less than zero. 16 * - epoll_wait fails with EINVAL if maxevents is equal to zero. 17 * - epoll_wait fails with EFAULT if the memory area pointed to by events is 65 TST_EXP_FAIL(epoll_wait(*tc[n].epfd, *tc[n].ev, tc[n].maxevents, -1), in verify_epoll_wait() 66 tc[n].exp_errno, "epoll_wait() %s", tc[n].desc); in verify_epoll_wait()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | epoll.rs | 63 use crate::backend::io::syscalls::{epoll_add, epoll_create, epoll_del, epoll_mod, epoll_wait}; 210 /// `epoll_wait(self, events, timeout)`—Waits for registered events of 215 #[doc(alias = "epoll_wait")] 221 // Safety: We're calling `epoll_wait` via FFI and we know how it in wait() 225 let nfds = epoll_wait( in wait()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | epoll.rs | 113 pub fn epoll_wait( in epoll_wait() functions 119 libc::epoll_wait( in epoll_wait()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | epoll_wait.c | 31 * @tc.desc : Regular epoll_wait 42 int result = epoll_wait(epoll_fd, events, 1, 1); in epoll_wait_0100()
|
H A D | epoll_ctl.c | 68 result = epoll_wait(fd, events, 1, 1); in epoll_ctl_0100()
|
/third_party/ltp/lib/ |
H A D | tst_epoll.c | 71 int ret = epoll_wait(epfd, events, maxevents, timeout); in safe_epoll_wait() 75 "epoll_wait(%d, ..., %d, %d)", in safe_epoll_wait()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | epoll.h | 61 int epoll_wait(int, struct epoll_event *, int, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | epoll.h | 61 int epoll_wait(int, struct epoll_event *, int, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | epoll.h | 61 int epoll_wait(int, struct epoll_event *, int, int);
|
/third_party/musl/src/linux/ |
H A D | epoll.c | 41 int epoll_wait(int fd, struct epoll_event *ev, int cnt, int to) in epoll_wait() function
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_epoll_wait_test.cpp | 35 int numEvents = epoll_wait(epollFd, events, MAX_EVENTS, -1); in HWTEST_F()
|
/third_party/musl/include/sys/ |
H A D | epoll.h | 61 int epoll_wait(int, struct epoll_event *, int, int);
|
/third_party/libuv/src/unix/ |
H A D | os390-syscalls.h | 57 int epoll_wait(uv__os390_epoll* ep, struct epoll_event *events, int maxevents, int timeout);
|
/third_party/node/deps/uv/src/unix/ |
H A D | os390-syscalls.h | 57 int epoll_wait(uv__os390_epoll* ep, struct epoll_event *events, int maxevents, int timeout);
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_epoll.cpp | 77 perror("open epoll_wait"); in Bm_function_Epoll_wait() 83 epoll_wait(epollFd, g_events, EVENTSIZE, 0); in Bm_function_Epoll_wait()
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | epoll.rs | 219 /// `epoll_wait(self, events, timeout)`—Waits for registered events of 224 #[doc(alias = "epoll_wait")] 230 // Safety: We're calling `epoll_wait` via FFI and we know how it in wait() 234 let nfds = ret_u32(c::epoll_wait( in wait()
|
/third_party/alsa-utils/axfer/ |
H A D | waiter-epoll.c | 59 err = epoll_wait(state->epfd, state->events, state->ev_count, in epoll_wait_event()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/ |
H A D | epoll_ctl01.c | 13 * event with fd, epoll_wait will get registered fd and event correctly. 14 * - When epoll_ctl succeeds to change event which is related to fd, epoll_wait 16 * - When epoll_ctl succeeds to deregister fd from the epoll instance epoll_wait 90 res = epoll_wait(epfd, res_evs, 2, -1); in check_epoll_ctl() 93 tst_res(TFAIL | TERRNO, "epoll_wait() returned %i", in check_epoll_ctl() 112 "epoll_wait() returned unexpected events"); in check_epoll_ctl()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_epoll.c | 158 rv = epoll_wait(ep->epoll_fd, events, (int)nevents, in ares_evsys_epoll_wait()
|
/third_party/libbpf/src/ |
H A D | ringbuf.c | 309 cnt = epoll_wait(rb->epoll_fd, rb->events, rb->ring_cnt, timeout_ms); in ring_buffer__poll() 629 cnt = epoll_wait(rb->epoll_fd, &rb->event, 1, ms_remaining); in user_ring_buffer__reserve_blocking()
|
/third_party/eudev/src/udev/ |
H A D | udevadm-monitor.c | 250 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), -1); in adm_monitor()
|
/third_party/alsa-utils/alsactl/ |
H A D | monitor.c | 322 count = epoll_wait(epfd, epev, max_ev_count, -1); in run_dispatcher()
|