Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 – 25 of 30) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c63 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF},
64 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF},
66 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL},
69 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST}
83 TEST(epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])); in setup()
Depoll_ctl01.c142 opera_epoll_ctl(EPOLL_CTL_ADD, fd[0], &events[0]); in verify_epoll_ctl()
143 opera_epoll_ctl(EPOLL_CTL_ADD, fd[1], &events[2]); in verify_epoll_ctl()
144 check_epoll_ctl(EPOLL_CTL_ADD, 1); in verify_epoll_ctl()
/external/strace/xlat/
Depollctls.h2 #if !(defined(EPOLL_CTL_ADD) || (defined(HAVE_DECL_EPOLL_CTL_ADD) && HAVE_DECL_EPOLL_CTL_ADD))
3 # define EPOLL_CTL_ADD 1 macro
20 XLAT(EPOLL_CTL_ADD),
Depollctls.in1 EPOLL_CTL_ADD 1
/external/libevent/
Depoll.c167 return op == EPOLL_CTL_ADD?"ADD": in epoll_op_to_string()
199 op = EPOLL_CTL_ADD; in epoll_apply_one_change()
271 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
280 } else if (op == EPOLL_CTL_ADD && errno == EEXIST) { in epoll_apply_one_change()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c94 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup()
95 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1]) || in setup()
96 epoll_ctl(epfd, EPOLL_CTL_ADD, fds2[0], &epevs[2])) { in setup()
Depoll_wait02.c124 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0])) { in setup()
Depoll_wait03.c119 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[0])) { in setup()
/external/kernel-headers/original/uapi/linux/
Deventpoll.h25 #define EPOLL_CTL_ADD 1 macro
/external/strace/tests-mx32/
Depoll_ctl.c24 long rc = invoke_syscall(-1U, EPOLL_CTL_ADD, -2U, ev); in main()
/external/strace/tests/
Depoll_ctl.c24 long rc = invoke_syscall(-1U, EPOLL_CTL_ADD, -2U, ev); in main()
/external/strace/tests-m32/
Depoll_ctl.c24 long rc = invoke_syscall(-1U, EPOLL_CTL_ADD, -2U, ev); in main()
/external/ltp/testcases/kernel/syscalls/epoll2/include/
Depoll.h57 #define EPOLL_CTL_ADD 1 /* Add a file decriptor to the interface. */ macro
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c394 { EPOLL_CTL_DEL, EPOLL_CTL_MOD, EPOLL_CTL_ADD, EPOLL_CTL_MOD, in test_epoll_ctl()
523 case EPOLL_CTL_ADD: in test_epoll_ctl()
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait01.c111 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs) == -1) { in setup()
/external/kmod/testsuite/
Dtestsuite.c318 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fdout, &ep_outpipe) < 0) { in test_run_parent_check_outputs()
338 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fderr, &ep_errpipe) < 0) { in test_run_parent_check_outputs()
349 if (epoll_ctl(fd_ep, EPOLL_CTL_ADD, fdmonitor, &ep_monitor) < 0) { in test_run_parent_check_outputs()
/external/ltp/testcases/kernel/syscalls/epoll2/man/
Depoll_wait.txt39 set with a epoll_ctl(2) (EPOLL_CTL_ADD,EPOLL_CTL_MOD) while the events
Depoll_ctl.txt69 EPOLL_CTL_ADD
Depoll.txt103 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, client, &ev) < 0) {
116 EPOLL_CTL_ADD ) once by specifying ( EPOLLIN|EPOLLOUT ). This allows
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_dualstack.c141 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
Dreuseport_bpf_cpu.c197 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
Dreuseport_bpf.c224 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order()
/external/dhcpcd-6.8.2/
Deloop.c176 if (epoll_ctl(ctx->poll_fd, EPOLL_CTL_ADD, fd, &epe) == -1) in eloop_event_add()
447 if (epoll_ctl(ctx->poll_fd, EPOLL_CTL_ADD, e->fd, &epe) == -1) in eloop_requeue()
/external/libmicrohttpd/src/microhttpd/
Ddaemon.c1633 EPOLL_CTL_ADD, in internal_add_connection()
2743 EPOLL_CTL_ADD, in MHD_epoll()
3561 EPOLL_CTL_ADD, in setup_epoll_to_listen()
3579 EPOLL_CTL_ADD, in setup_epoll_to_listen()
4416 EPOLL_CTL_ADD, in epoll_shutdown()
/external/ltp/testcases/kernel/syscalls/epoll2/examples/
Depoll-test.c142 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, sfd, &ev) < 0) { in eph_new_conn()

12