Home
last modified time | relevance | path

Searched refs:epoll_wait (Results 1 – 25 of 135) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/epoll2/man/
Depoll_wait.txt6 epoll_wait - wait for an I/O event on an epoll file descriptor
11 int epoll_wait(int epfd, struct epoll_event * events, int maxevents,
18 returned by epoll_wait(2). The maxevents parameter must be greater
19 than zero. Specifying a timeout of -1 makes epoll_wait(2) wait indefi-
20 nitely, while specifying a timeout equal to zero makes epoll_wait(2) to
43 When successful, epoll_wait(2) returns the number of file descriptors
46 epoll_wait(2) returns -1 and errno is set appropriately.
59 epoll_wait(2) is a new API introduced in Linux kernel 2.5.44. The
Dmkpages.sh6 groff -t -e -mandoc -Tascii epoll_wait.2 | col -bx > epoll_wait.txt
10 groff -t -e -mandoc -Tps epoll_wait.2 > epoll_wait.ps
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).
33 3 A call to epoll_wait(2) is done that will return RFD as ready
38 5 A call to epoll_wait(2) is done.
42 the EPOLLET flag, the call to epoll_wait(2) done in step 5 will proba-
51 consume the whole buffer data, the call to epoll_wait(2) done in step 5
70 receival of an event with epoll_wait(2). When the EPOLLONESHOT flag is
90 nfds = epoll_wait(kdpfd, events, maxevents, -1);
151 Q7 If more than one event comes in between epoll_wait(2) calls, are
165 A9 No you don't. Receiving an event from epoll_wait(2) should sug-
[all …]
Depoll_ctl.txt59 It means that after an event is pulled out with epoll_wait(2)
103 epoll(4) epoll_create(2) epoll_wait(2)
Depoll_create.txt35 epoll(4) epoll_ctl(2) epoll_wait(2) close(2)
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c38 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a()
53 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap()
65 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o()
80 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op()
92 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a()
107 if (epoll_wait(ctx->efd[0], events, 2, 0) > 0) in waiter_entry2ap()
162 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
163 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
193 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 1); in TEST()
194 EXPECT_EQ(epoll_wait(efd, &e, 1, 0), 0); in TEST()
[all …]
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c100 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollout()
138 TEST(epoll_wait(epfd, &ret_evs, 1, -1)); in verify_epollin()
182 TEST(epoll_wait(epfd, ret_evs, 2, -1)); in verify_epollio()
Depoll_wait02.c40 TEST(epoll_wait(epfd, epevs, 1, sleep_ms)); in sample_fn()
Depoll_wait03.c127 TEST(epoll_wait(*(tc->epfd), *(tc->ev), tc->maxevents, -1)); in verify_epoll_wait()
/external/rust/crates/nix/src/sys/
Depoll.rs103 pub fn epoll_wait(epfd: RawFd, events: &mut [EpollEvent], timeout_ms: isize) -> Result<usize> { in epoll_wait() function
105 …libc::epoll_wait(epfd, events.as_mut_ptr() as *mut libc::epoll_event, events.len() as c_int, timeo… in epoll_wait()
/external/ltp/testcases/kernel/syscalls/epoll2/src/
Depoll.c21 #define __sys_epoll_wait(epfd, pevents, maxevents, timeout) _syscall4(int, epoll_wait, \
/external/libevent/
Depoll_sub.c59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait() function
/external/crosvm/seccomp/x86_64/
Dcommon_device.frequency14 epoll_wait: 90
Dcommon_device.policy13 epoll_wait: 1
Dtpm_device.policy13 epoll_wait: 1
/external/ltp/testcases/kernel/syscalls/epoll2/include/
Depoll.h116 extern int epoll_wait (int __epfd, struct epoll_event *__events,
/external/grpc-grpc/doc/
Depoll-polling-engine.md34epoll_wait()`, we are guaranteed that only one thread is woken up if one of the `fds` in the set b…
95 … to use a `poll()` (on `event_fd` and `epoll_fd`) instead of doing an `epoll_wait()` and this resu…
107 …can implement a turnstile polling (i.e having only one thread calling `epoll_wait()` on the epoll …
117 …st in the epoll set, they then call a non-blocking i.e a zero-timeout `epoll_wait()` on the `epoll…
/external/crosvm/seccomp/arm/
Dcommon_device.policy14 epoll_wait: 1
Dtpm_device.policy15 epoll_wait: 1
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_pollset.cc90 epoll_wait(epfd, ev, nev, 0); in BM_PollEmptyPollset_SpeedOfLight()
200 err = epoll_wait(epfd, ev, GPR_ARRAY_SIZE(ev), 0); in BM_SingleThreadPollOneFd_SpeedOfLight()
/external/strace/
Depoll.c102 SYS_FUNC(epoll_wait) in SYS_FUNC() argument
/external/adhd/seccomp/
Dcras-seccomp-amd64.policy71 epoll_wait: 1
Dcras-seccomp-arm.policy27 epoll_wait: 1
/external/adhd/sound_card_init/seccomp/
Dsound_card_init-seccomp-amd64.policy16 epoll_wait: 1
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl01.c93 res = epoll_wait(epfd, res_evs, 2, -1); in check_epoll_ctl()

123456