Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/
H A Depoll_ctl02.c20 * - 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 Depoll_ctl01.c132 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 Depoll_ctl04.c38 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 Depoll_ctl05.c11 * 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 Depoll_wait06.c67 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 Depoll_wait01.c70 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 Depoll_wait02.c52 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 Depoll_wait04.c51 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 Dmonitor.c283 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 Depoll.c91 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 Depoll_pwait04.c40 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 Depoll_pwait05.c50 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 Depoll_pwait03.c52 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 Depoll_pwait02.c44 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 Dudevadm-monitor.c202 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 Dudevd.c279 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 Dtst_epoll.c43 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 Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Depoll_ctl.c57 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 Dlinux_epoll_wait_test.cpp32 ASSERT_EQ(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev), 0); in HWTEST_F()
H A Dlinux_epoll_ctl_test.cpp24 EXPECT_TRUE(epoll_ctl(epollFd, EPOLL_CTL_ADD, fds[0], &ev) != -1); in HWTEST_F()
/third_party/musl/include/sys/
H A Depoll.h37 #define EPOLL_CTL_ADD 1 macro
/third_party/libuv/src/unix/
H A Dos390-syscalls.h33 #define EPOLL_CTL_ADD 1 macro

Completed in 8 milliseconds

1234