Home
last modified time | relevance | path

Searched refs:epoll_event (Results 1 – 25 of 78) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c51 static struct epoll_event epevs[2] = { in setup()
73 static int has_event(struct epoll_event *epevs, int epevs_len, in has_event()
86 static void dump_epevs(struct epoll_event *epevs, int epevs_len) in dump_epevs()
98 struct epoll_event ret_evs = {.events = 0, .data.fd = 0}; in verify_epollout()
132 struct epoll_event ret_evs = {.events = 0, .data.fd = 0}; in verify_epollin()
174 struct epoll_event ret_evs[2]; in verify_epollio()
Depoll_wait03.c47 static struct epoll_event epevs[1] = {
51 static struct epoll_event *ev_rdwr = epevs;
52 static struct epoll_event *ev_rdonly;
56 struct epoll_event **ev;
/external/crosvm/sys_util/src/
Dpoll.rs18 c_int, epoll_create1, epoll_ctl, epoll_event, epoll_wait, EPOLLHUP, EPOLLIN, EPOLLOUT,
27 pub struct EpollEvents(RefCell<[epoll_event; POLL_CONTEXT_MAX_EVENTS]>);
32 [epoll_event { events: 0, u64: 0 }; POLL_CONTEXT_MAX_EVENTS], in new()
120 event: &'a epoll_event,
149 I: Iterator<Item = &'a epoll_event>,
158 I: Iterator<Item = &'a epoll_event>,
176 events: Ref<'a, [epoll_event; POLL_CONTEXT_MAX_EVENTS]>,
192 pub fn iter(&self) -> PollEventIter<slice::Iter<epoll_event>, T> { in iter() argument
201 pub fn iter_readable(&self) -> PollEventIter<slice::Iter<epoll_event>, T> { in iter_readable() argument
210 pub fn iter_writable(&self) -> PollEventIter<slice::Iter<epoll_event>, T> { in iter_writable() argument
[all …]
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c35 struct epoll_event e; in waiter_entry1a()
47 struct epoll_event e; in waiter_entry1ap()
62 struct epoll_event e; in waiter_entry1o()
74 struct epoll_event e; in waiter_entry1op()
89 struct epoll_event events[2]; in waiter_entry2a()
101 struct epoll_event events[2]; in waiter_entry2ap()
150 struct epoll_event e; in TEST()
181 struct epoll_event e; in TEST()
212 struct epoll_event events[2]; in TEST()
250 struct epoll_event events[2]; in TEST()
[all …]
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl01.c31 static struct epoll_event events[3] = {
62 static int has_event(struct epoll_event *epvs, int len, in has_event()
81 struct epoll_event res_evs[2]; in check_epoll_ctl()
125 static void opera_epoll_ctl(int opt, int fd, struct epoll_event *epvs) in opera_epoll_ctl()
Depoll_ctl02.c41 static struct epoll_event events[2] = {
50 struct epoll_event *ts_event;
/external/ltp/testcases/kernel/syscalls/epoll2/include/
Depoll.h81 struct epoll_event struct
106 struct epoll_event *__event) __THROW; argument
116 extern int epoll_wait (int __epfd, struct epoll_event *__events,
/external/kernel-headers/original/uapi/linux/
Deventpoll.h77 struct epoll_event { struct
83 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup() argument
89 static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev) in ep_take_care_of_epollwakeup()
/external/strace/
Depoll.c56 const struct epoll_event *ev = elem_buf; in print_epoll_event()
79 struct epoll_event ev; in SYS_FUNC()
95 struct epoll_event ev; in epoll_wait_common()
/external/libevent/
Depoll.c87 struct epoll_event *events;
169 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); in epoll_init()
196 struct epoll_event epev; in epoll_init()
271 struct epoll_event epev; in epoll_apply_one_change()
420 struct epoll_event *events = epollop->events; in epoll_dispatch()
512 struct epoll_event *new_events; in epoll_dispatch()
515 new_nevents * sizeof(struct epoll_event)); in epoll_dispatch()
Depoll_sub.c52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) in epoll_ctl()
59 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in epoll_wait()
/external/ltp/testcases/kernel/syscalls/epoll2/src/
Depoll.c20 int, epfd, int, op, int, fd, struct epoll_event *, event)
22 int, epfd, struct epoll_event *, pevents, int, maxevents, int, timeout)
/external/wayland/src/
Devent-loop.c83 struct epoll_event *ep);
97 struct epoll_event *ep) in wl_event_source_fd_dispatch()
123 struct epoll_event ep; in add_source()
218 struct epoll_event ep; in wl_event_source_fd_update()
242 struct epoll_event *ep) { in noop_dispatch()
308 struct epoll_event ep; in wl_timer_heap_ensure_timerfd()
534 struct epoll_event *ep) in wl_event_source_timer_dispatch()
673 struct epoll_event *ep) in wl_event_source_signal_dispatch()
935 struct epoll_event ep; in post_dispatch_check()
997 struct epoll_event ep[32]; in wl_event_loop_dispatch()
/external/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c397 struct epoll_event event; in test_epoll_ctl()
398 char event_mem[sizeof(struct epoll_event) * 2]; in test_epoll_ctl()
399 struct epoll_event *unaligned_event_ptr; in test_epoll_ctl()
432 unaligned_event_ptr = (struct epoll_event *)unalign_ptr; in test_epoll_ctl()
442 struct epoll_event *ev_ptr = NULL; in test_epoll_ctl()
/external/rust/crates/nix/src/sys/
Depoll.rs48 event: libc::epoll_event,
53 EpollEvent { event: libc::epoll_event { events: events.bits() as u32, u64: data } } in new()
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/man/
Depoll_wait.txt11 int epoll_wait(int epfd, struct epoll_event * events, int maxevents,
22 to zero ). The struct epoll_event is defined as :
32 struct epoll_event {
Depoll_ctl.txt11 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
16 object linked to the file descriptor fd. The struct epoll_event is
27 struct epoll_event {
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_pollset.cc81 epoll_event* ev = new epoll_event[nev]; in BM_PollEmptyPollset_SpeedOfLight()
85 epoll_event ev; in BM_PollEmptyPollset_SpeedOfLight()
189 epoll_event ev[100]; in BM_SingleThreadPollOneFd_SpeedOfLight()
/external/curl/docs/examples/
Dephiperfifo.c269 struct epoll_event ev; in setsock()
416 struct epoll_event epev; in init_fifo()
469 struct epoll_event ev; in main()
470 struct epoll_event events[10]; in main()
516 sizeof(events)/sizeof(struct epoll_event), 10000); in main()
/external/libcups/scheduler/
Dselect.c207 static struct epoll_event *cupsd_epoll_events = NULL;
333 struct epoll_event event; /* Event data */
454 struct epoll_event *event; /* Current event */ in cupsdDoSelect()
690 struct epoll_event event; /* Event data */ in cupsdRemoveSelect()
803 cupsd_epoll_events = calloc((size_t)MaxFDs, sizeof(struct epoll_event)); in cupsdStartSelect()
/external/rust/crates/mio/src/sys/unix/selector/
Depoll.rs82 let mut event = libc::epoll_event { in register()
91 let mut event = libc::epoll_event { in reregister()
146 pub type Event = libc::epoll_event;
/external/strace/tests/
Depoll_wait.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct epoll_event, ev); in main()
/external/strace/tests-mx32/
Depoll_wait.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct epoll_event, ev); in main()
/external/strace/tests-m32/
Depoll_wait.c13 TAIL_ALLOC_OBJECT_CONST_PTR(struct epoll_event, ev); in main()
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait.h28 int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, in epoll_pwait()

1234