Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 – 25 of 55) 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/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c158 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
189 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
221 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
224 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
259 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
262 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
297 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
336 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
377 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
380 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
[all …]
/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.c53 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF},
54 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF},
56 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL},
59 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST}
73 TEST(epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])); in setup()
Depoll_ctl01.c134 opera_epoll_ctl(EPOLL_CTL_ADD, fd[0], &events[0]); in verify_epoll_ctl()
135 opera_epoll_ctl(EPOLL_CTL_ADD, fd[1], &events[2]); in verify_epoll_ctl()
136 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.c67 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fds[0], &epevs[0]) || in setup()
68 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-m32/
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/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/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/curl/docs/examples/
Dephiperfifo.c285 if(epoll_ctl(g->epfd, EPOLL_CTL_ADD, s, &ev)) in setsock()
442 epoll_ctl(g->epfd, EPOLL_CTL_ADD, sockfd, &epev); in init_fifo()
497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
/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/linux-kselftest/tools/testing/selftests/net/
Dtcp_fastopen_backup_key.c259 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in run_one_test()
278 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) in run_one_test()
Dreuseport_dualstack.c142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
/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
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_fields.c363 err = epoll_ctl(epfd, EPOLL_CTL_ADD, listen_fd, &ev); in test()
381 err = epoll_ctl(epfd, EPOLL_CTL_ADD, cli_fd, &ev); in test()

123