Home
last modified time | relevance | path

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

123

/external/libevent/
Depolltable-internal.h143 { EPOLLRDHUP, EPOLL_CTL_ADD },
149 { EPOLLIN, EPOLL_CTL_ADD },
151 { EPOLLIN|EPOLLRDHUP, EPOLL_CTL_ADD },
153 { EPOLLIN, EPOLL_CTL_ADD },
159 { EPOLLRDHUP, EPOLL_CTL_ADD },
173 { EPOLLOUT, EPOLL_CTL_ADD },
175 { EPOLLOUT|EPOLLRDHUP, EPOLL_CTL_ADD },
177 { EPOLLOUT, EPOLL_CTL_ADD },
181 { EPOLLIN|EPOLLOUT, EPOLL_CTL_ADD },
183 { EPOLLIN|EPOLLOUT|EPOLLRDHUP, EPOLL_CTL_ADD },
[all …]
Depoll.c200 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, fd, &epev) < 0) { in epoll_init()
243 return op == EPOLL_CTL_ADD?"ADD": in epoll_op_to_string()
302 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
314 case EPOLL_CTL_ADD: in epoll_apply_one_change()
/external/strace/xlat/
Depollctls.h6 #if defined(EPOLL_CTL_ADD) || (defined(HAVE_DECL_EPOLL_CTL_ADD) && HAVE_DECL_EPOLL_CTL_ADD)
8 static_assert((EPOLL_CTL_ADD) == (1), "EPOLL_CTL_ADD != 1");
11 # define EPOLL_CTL_ADD 1
38 XLAT(EPOLL_CTL_ADD),
Depollctls.in1 EPOLL_CTL_ADD 1
/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.c144 opera_epoll_ctl(EPOLL_CTL_ADD, fd[0], &events[0]); in verify_epoll_ctl()
145 opera_epoll_ctl(EPOLL_CTL_ADD, fd[1], &events[2]); in verify_epoll_ctl()
146 check_epoll_ctl(EPOLL_CTL_ADD, 1); in verify_epoll_ctl()
/external/linux-kselftest/tools/testing/selftests/kcmp/
Dkcmp_test.c64 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { in main()
75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main()
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c79 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup()
80 epoll_ctl(epfd, EPOLL_CTL_ADD, fds[1], &epevs[1])) { in setup()
Depoll_wait02.c63 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/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/grpc-grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc70 if (epoll_ctl(fd, EPOLL_CTL_ADD, evfd, &ev) != 0) { in grpc_is_epollexclusive_available()
/external/curl/docs/examples/
Dephiperfifo.c292 if(epoll_ctl(g->epfd, EPOLL_CTL_ADD, s, &ev)) in setsock()
449 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
504 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &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/kernel-headers/original/uapi/linux/
Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_pollset.cc87 epoll_ctl(epfd, EPOLL_CTL_ADD, fds.back(), &ev); in BM_PollEmptyPollset_SpeedOfLight()
192 epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev[0]); in BM_SingleThreadPollOneFd_SpeedOfLight()
/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/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
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_dualstack.c142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
Dreuseport_bpf_numa.c208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
Dreuseport_bpf_cpu.c198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()

123