Home
last modified time | relevance | path

Searched refs:epoll_ctl (Results 1 – 25 of 110) sorted by relevance

12345

/external/ltp/testcases/kernel/syscalls/epoll2/man/
Dmkpages.sh5 groff -t -e -mandoc -Tascii epoll_ctl.2 | col -bx > epoll_ctl.txt
9 groff -t -e -mandoc -Tps epoll_ctl.2 > epoll_ctl.ps
Depoll_ctl.txt6 epoll_ctl - control interface for an epoll descriptor
11 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
62 must call epoll_ctl(2) with EPOLL_CTL_MOD to re-enable the file
83 When successful, epoll_ctl(2) returns zero. When an error occurs,
84 epoll_ctl(2) returns -1 and errno is set appropriately.
99 epoll_ctl(2) is a new API introduced in Linux kernel 2.5.44. The
Depoll.txt15 epoll_create(2), epoll_ctl(2), epoll_wait(2).
19 epoll_ctl(2). Finally, the actual wait is started by epoll_wait(2).
72 using epoll_ctl(2) with EPOLL_CTL_MOD.
103 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, client, &ev) < 0) {
118 ing epoll_ctl(2) with EPOLL_CTL_MOD.
207 epoll_ctl(EPOLL_CTL_DEL) to delete fd 13 and close(), then mark its
220 epoll_create(2) epoll_ctl(2) epoll_wait(2)
Depoll_wait.txt39 set with a epoll_ctl(2) (EPOLL_CTL_ADD,EPOLL_CTL_MOD) while the events
63 epoll(4) epoll_create(2) epoll_ctl(2)
Depoll_create.txt35 epoll(4) epoll_ctl(2) epoll_wait(2) close(2)
/external/curl/docs/examples/
Dephiperfifo.c262 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in remsock()
281 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in setsock()
292 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()
457 epoll_ctl(g->epfd, EPOLL_CTL_DEL, g->fifofd, NULL); in clean_fifo()
504 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c83 TEST(epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])); in setup()
104 TEST(epoll_ctl(*tc->epfds, tc->opt, *tc->fds, tc->ts_event)); in verify_epoll_ctl()
Depoll_ctl01.c137 TEST(epoll_ctl(epfd, opt, fd, epvs)); in opera_epoll_ctl()
/external/libevent/
Depoll.c200 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, fd, &epev) < 0) { in epoll_init()
290 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == 0) { in epoll_apply_one_change()
302 if (epoll_ctl(epollop->epfd, EPOLL_CTL_ADD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
323 if (epoll_ctl(epollop->epfd, EPOLL_CTL_MOD, ch->fd, &epev) == -1) { in epoll_apply_one_change()
Depoll_sub.c52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl() function
/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/wayland/src/
Devent-loop.c119 if (epoll_ctl(loop->epoll_fd, EPOLL_CTL_ADD, source->fd, &ep) < 0) { in add_source()
161 return epoll_ctl(loop->epoll_fd, EPOLL_CTL_MOD, source->fd, &ep); in wl_event_source_fd_update()
324 epoll_ctl(loop->epoll_fd, EPOLL_CTL_DEL, source->fd, NULL); in wl_event_source_remove()
/external/ltp/testcases/kernel/syscalls/epoll2/src/
Depoll.c19 #define __sys_epoll_ctl(epfd, op, fd, event) _syscall4(int, epoll_ctl, \
/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.h105 extern int epoll_ctl (int __epfd, int __op, int __fd,
/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/strace/
Depoll.c70 SYS_FUNC(epoll_ctl) in SYS_FUNC() argument
/external/adhd/seccomp/
Dcras-seccomp-amd64.policy72 epoll_ctl: 1
Dcras-seccomp-arm.policy64 epoll_ctl: 1
Dcras-seccomp-arm64.policy45 epoll_ctl: 1
/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/examples/
Depoll-test.c142 if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, sfd, &ev) < 0) { in eph_new_conn()
162 if (epoll_ctl(kdpfd, EPOLL_CTL_DEL, conn->sfd, &ev) < 0) { in eph_exit_conn()
196 if (epoll_ctl(kdpfd, EPOLL_CTL_MOD, conn->sfd, &ev) < 0) { in eph_mod_conn()

12345