/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/ |
H A D | epoll_ctl02.c | 20 * - EEXIST if fd is already registered with EPOLL_CTL_ADD. 45 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF, "epfd is an invalid fd"}, 46 {&epfd, EPOLL_CTL_ADD, &unsupported_fd, &events[1], EPERM, "fd does not support epoll"}, 47 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF, "fd is an invalid fd"}, 49 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL, "fd is the same as epfd"}, 50 {&epfd, EPOLL_CTL_ADD, &fd[1], NULL, EFAULT, "events is NULL"}, 53 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST, "fd is already registered with EPOLL_CTL_ADD"} 69 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])) in setup() 70 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, in setup() [all...] |
H A D | epoll_ctl01.c | 132 opera_epoll_ctl(EPOLL_CTL_ADD, fd[0], &events[0]); in verify_epoll_ctl() 133 opera_epoll_ctl(EPOLL_CTL_ADD, fd[1], &events[2]); in verify_epoll_ctl() 134 check_epoll_ctl(EPOLL_CTL_ADD, 1); in verify_epoll_ctl()
|
H A D | epoll_ctl04.c | 38 if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events)) in setup() 39 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup() 61 TST_EXP_FAIL(epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events), EINVAL, in verify_epoll_ctl() 62 "epoll_ctl(..., EPOLL_CTL_ADD, ...) with number of nesting is 5"); in verify_epoll_ctl()
|
H A D | epoll_ctl05.c | 11 * and this EPOLL_CTL_ADD operation would result in a circular loop of epoll 42 if (epoll_ctl(new_epfd, EPOLL_CTL_ADD, epfd, &events)) in setup() 43 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup() 63 TST_EXP_FAIL(epoll_ctl(origin_epfd, EPOLL_CTL_ADD, epfd, &events), in verify_epoll_ctl() 64 ELOOP, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in verify_epoll_ctl()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
H A D | epoll_wait06.c | 67 SAFE_EPOLL_CTL(epfd, EPOLL_CTL_ADD, fds[0], &((struct epoll_event) { in run() 71 SAFE_EPOLL_CTL(epfd, EPOLL_CTL_ADD, fds[1], &((struct epoll_event) { in run()
|
H A D | epoll_wait01.c | 70 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup() 71 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1])) { in setup()
|
H A D | epoll_wait02.c | 52 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup() 53 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
H A D | epoll_wait04.c | 51 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) in setup() 52 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
/third_party/alsa-utils/alsactl/ |
H A D | monitor.c | 283 if (epoll_ctl(epfd, EPOLL_CTL_ADD, sigfd, &ev) < 0) in prepare_dispatcher() 288 if (epoll_ctl(epfd, EPOLL_CTL_ADD, infd, &ev) < 0) in prepare_dispatcher() 294 err = operate_dispatcher(epfd, EPOLL_CTL_ADD, &ev, entry); in prepare_dispatcher()
|
/third_party/node/deps/uv/src/unix/ |
H A D | epoll.c | 91 if (epoll_ctl(loop->backend_fd, EPOLL_CTL_ADD, fd, &e)) in uv__io_check_fd() 157 op = EPOLL_CTL_ADD; in uv__io_poll() 168 assert(op == EPOLL_CTL_ADD); in uv__io_poll()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/ |
H A D | epoll_pwait04.c | 40 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 41 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
H A D | epoll_pwait05.c | 50 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 51 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
H A D | epoll_pwait03.c | 52 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 53 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
H A D | epoll_pwait02.c | 44 if (epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e)) in setup() 45 tst_brk(TBROK | TERRNO, "epoll_ctl(..., EPOLL_CTL_ADD, ...)"); in setup()
|
/third_party/eudev/src/udev/ |
H A D | udevadm-monitor.c | 202 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_udev, &ep_udev) < 0) { in adm_monitor() 236 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_kernel, &ep_kernel) < 0) { in adm_monitor()
|
H A D | udevd.c | 279 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_signal, &ep_signal) < 0 || in worker_spawn() 280 epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_monitor, &ep_monitor) < 0) { in worker_spawn() 1350 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_ctrl, &ep_ctrl) < 0 || in main() 1351 epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_inotify, &ep_inotify) < 0 || in main() 1352 epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_signal, &ep_signal) < 0 || in main() 1353 epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_netlink, &ep_netlink) < 0 || in main() 1354 epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_worker, &ep_worker) < 0) { in main()
|
/third_party/ltp/lib/ |
H A D | tst_epoll.c | 43 case EPOLL_CTL_ADD: in safe_epoll_ctl() 44 op_str = "EPOLL_CTL_ADD"; in safe_epoll_ctl()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | epoll.h | 37 #define EPOLL_CTL_ADD 1 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | epoll.h | 37 #define EPOLL_CTL_ADD 1 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | epoll.h | 37 #define EPOLL_CTL_ADD 1 macro
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | epoll_ctl.c | 57 int result = epoll_ctl(fd, EPOLL_CTL_ADD, fds[0], &ev); in epoll_ctl_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_epoll_wait_test.cpp | 32 ASSERT_EQ(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev), 0); in HWTEST_F()
|
H A D | linux_epoll_ctl_test.cpp | 24 EXPECT_TRUE(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev) != -1); in HWTEST_F()
|
/third_party/musl/include/sys/ |
H A D | epoll.h | 37 #define EPOLL_CTL_ADD 1 macro
|
/third_party/libuv/src/unix/ |
H A D | os390-syscalls.h | 33 #define EPOLL_CTL_ADD 1 macro
|