Home
last modified time | relevance | path

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

1234567

/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/rust/crates/nix/test/sys/
Dtest_epoll.rs2 use nix::sys::epoll::{epoll_create1, epoll_ctl};
9 let result = epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None); in test_epoll_errno()
13 let result = epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, None); in test_epoll_errno()
22 epoll_ctl(efd, EpollOp::EpollCtlAdd, 1, &mut event).unwrap(); in test_epoll_ctl()
23 epoll_ctl(efd, EpollOp::EpollCtlDel, 1, None).unwrap(); in test_epoll_ctl()
/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)
/external/rust/crates/nix/src/sys/
Depoll.rs84 pub fn epoll_ctl<'a, T>(epfd: RawFd, op: EpollOp, fd: RawFd, event: T) -> Result<()> in epoll_ctl() function
93 libc::epoll_ctl(epfd, op as c_int, fd, &mut event.event) in epoll_ctl()
95 libc::epoll_ctl(epfd, op as c_int, fd, ptr::null_mut()) in epoll_ctl()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc70 if (epoll_ctl(fd, EPOLL_CTL_ADD, evfd, &ev) != 0) { in grpc_is_epollexclusive_available()
98 if (epoll_ctl(fd, EPOLL_CTL_ADD, evfd, &ev) != 0) { in grpc_is_epollexclusive_available()
/external/curl/docs/examples/
Dephiperfifo.c255 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in remsock()
274 if(epoll_ctl(g->epfd, EPOLL_CTL_DEL, f->sockfd, NULL)) in setsock()
285 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()
450 epoll_ctl(g->epfd, EPOLL_CTL_DEL, g->fifofd, NULL); in clean_fifo()
497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl02.c73 TEST(epoll_ctl(epfd, EPOLL_CTL_ADD, fd[0], &events[0])); in setup()
94 TEST(epoll_ctl(*tc->epfds, tc->opt, *tc->fds, tc->ts_event)); 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/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/rust/crates/mio/src/sys/unix/selector/
Depoll.rs87 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_ADD, fd, &mut event)).map(|_| ()) in register()
96 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_MOD, fd, &mut event)).map(|_| ()) in reregister()
100 syscall!(epoll_ctl(self.ep, libc::EPOLL_CTL_DEL, fd, ptr::null_mut())).map(|_| ()) in deregister()
/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()
/external/python/pybind11/tests/
Dvalgrind-python.supp7 epoll_ctl(event)
8 fun: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()
285 if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL)) in run_one_test()
/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/crosvm/seccomp/x86_64/
Dcommon_device.frequency13 epoll_ctl: 25
Dcommon_device.policy12 epoll_ctl: 1
/external/ltp/testcases/kernel/syscalls/epoll2/include/
Depoll.h105 extern int epoll_ctl (int __epfd, int __op, int __fd,
/external/crosvm/seccomp/aarch64/
Dcommon_device.policy11 epoll_ctl: 1
/external/crosvm/seccomp/arm/
Dcommon_device.policy13 epoll_ctl: 1

1234567