Home
last modified time | relevance | path

Searched refs:EPOLLIN (Results 1 - 25 of 71) sorted by relevance

123

/third_party/python/Lib/test/
H A Dtest_epoll.py108 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
109 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
116 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
117 ep.register(client, select.EPOLLIN | select.EPOLLOUT)
125 select.EPOLLIN | select.EPOLLOUT)
127 select.EPOLLIN | select.EPOLLOUT)
130 select.EPOLLIN | select.EPOLLOUT)
133 select.EPOLLIN | select.EPOLLOUT)
135 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
137 select.EPOLLIN | selec
[all...]
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/
H A Depoll_wait01.c11 * EPOLLIN events on an epoll instance and that struct epoll_event is set
54 {.events = EPOLLIN}, in setup()
160 if (ret_evs.events != EPOLLIN) { in verify_epollin()
161 tst_res(TFAIL, "epoll.events %x, expected EPOLLIN %x", in verify_epollin()
162 ret_evs.events, EPOLLIN); in verify_epollin()
176 uint32_t events = EPOLLIN | EPOLLOUT; in verify_epollio()
193 if ((events & EPOLLIN) && in verify_epollio()
194 has_event(ret_evs, 2, fds[0], EPOLLIN)) { in verify_epollio()
196 events &= ~EPOLLIN; in verify_epollio()
H A Depoll_wait07.c10 * We open a channel, write in it two times and verify that EPOLLIN has been
46 .events = EPOLLIN | EPOLLONESHOT, in run()
50 tst_res(TINFO, "Write channel for the 1st time. EPOLLIN expected"); in run()
54 TST_EXP_EQ_LI(evt_receive.events & EPOLLIN, EPOLLIN); in run()
H A Depoll_wait06.c9 * Verify that edge triggering is correctly handled by epoll, for both EPOLLIN
17 * - A call to epoll_wait() is done that will return a EPOLLIN event.
68 .events = EPOLLIN | EPOLLET, in run()
84 TST_EXP_EQ_LI(evt_receive.events & EPOLLIN, EPOLLIN); in run()
H A Depoll_wait02.c22 {.events = EPOLLIN}
H A Depoll_wait04.c22 {.events = EPOLLIN}
/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/
H A Depoll_ctl01.c29 {.events = EPOLLIN},
31 {.events = EPOLLIN}
80 events = EPOLLIN; in check_epoll_ctl()
98 if ((events & EPOLLIN) && in check_epoll_ctl()
99 has_event(res_evs, 2, fd[0], EPOLLIN)) { in check_epoll_ctl()
101 events &= ~EPOLLIN; in check_epoll_ctl()
H A Depoll_ctl03.c24 static struct epoll_event events = {.events = EPOLLIN};
27 EPOLLIN, EPOLLOUT, EPOLLPRI, EPOLLERR,
H A Depoll_ctl04.c24 static struct epoll_event events = {.events = EPOLLIN};
/third_party/eudev/src/udev/
H A Dudevadm-monitor.c200 ep_udev.events = EPOLLIN; in adm_monitor()
234 ep_kernel.events = EPOLLIN; in adm_monitor()
258 if (ev[i].data.fd == fd_kernel && ev[i].events & EPOLLIN) { in adm_monitor()
266 } else if (ev[i].data.fd == fd_udev && ev[i].events & EPOLLIN) { in adm_monitor()
H A Dudevd.c271 ep_signal.events = EPOLLIN; in worker_spawn()
276 ep_monitor.events = EPOLLIN; in worker_spawn()
392 if (ev[i].data.fd == fd_monitor && ev[i].events & EPOLLIN) { in worker_spawn()
395 } else if (ev[i].data.fd == fd_signal && ev[i].events & EPOLLIN) { in worker_spawn()
1131 struct epoll_event ep_ctrl = { .events = EPOLLIN }; in main()
1132 struct epoll_event ep_inotify = { .events = EPOLLIN }; in main()
1133 struct epoll_event ep_signal = { .events = EPOLLIN }; in main()
1134 struct epoll_event ep_netlink = { .events = EPOLLIN }; in main()
1135 struct epoll_event ep_worker = { .events = EPOLLIN }; in main()
1455 if (ev[i].data.fd == fd_worker && ev[i].events & EPOLLIN) in main()
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_event_epoll.c105 epev.events |= EPOLLIN; in ares_evsys_epoll_event_add()
138 epev.events |= EPOLLIN; in ares_evsys_epoll_event_mod()
178 if (events[i].events & (EPOLLIN | EPOLLRDHUP | EPOLLHUP | EPOLLERR)) { in ares_evsys_epoll_wait()
/third_party/musl/Benchmark/musl/
H A Dlibc_epoll.cpp57 g_event.events = EPOLLIN | EPOLLET; in Bm_function_Epoll_ctl()
80 g_event.events = EPOLLIN | EPOLLET; in Bm_function_Epoll_wait()
/third_party/alsa-utils/alsactl/
H A Dmonitor.c281 ev.events = EPOLLIN; in prepare_dispatcher()
286 ev.events = EPOLLIN; in prepare_dispatcher()
292 ev.events = EPOLLIN; in prepare_dispatcher()
346 if (ev->events & EPOLLIN) in run_dispatcher()
/third_party/eudev/test/
H A Dtest-libudev.c250 ep_udev.events = EPOLLIN; in test_monitor()
258 ep_stdin.events = EPOLLIN; in test_monitor()
276 if (ev[i].data.fd == fd_udev && ev[i].events & EPOLLIN) { in test_monitor()
284 } else if (ev[i].data.fd == STDIN_FILENO && ev[i].events & EPOLLIN) { in test_monitor()
/third_party/curl/docs/examples/
H A Dephiperfifo.c206 int action = ((revents & EPOLLIN) ? CURL_CSELECT_IN : 0) | in event_cb()
272 int kind = ((act & CURL_POLL_IN) ? EPOLLIN : 0) | in setsock()
442 epev.events = EPOLLIN; in init_fifo()
495 ev.events = EPOLLIN; in main()
/third_party/libwebsockets/lib/event-libs/sdevent/
H A Dsdevent.c110 if (revents & EPOLLIN) { in sock_accept_handler()
183 wsi_to_priv_sd(wsi)->events |= EPOLLIN; in io_sd()
198 (uint32_t)(~EPOLLIN); in io_sd()
203 if (!(wsi_to_priv_sd(wsi)->events & (EPOLLIN | EPOLLOUT))) in io_sd()
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
H A Depoll_pwait04.c39 e.events = EPOLLIN; in setup()
H A Depoll_pwait05.c49 e.events = EPOLLIN; in setup()
H A Depoll_pwait03.c51 e.events = EPOLLIN; in setup()
H A Depoll_pwait02.c43 e.events = EPOLLIN; in setup()
/third_party/mesa3d/src/vulkan/overlay-layer/
H A Dmesa-overlay-control.py6 from select import EPOLLIN, EPOLLPRI, EPOLLERR namespace
33 epoll.register(sock, EPOLLIN | EPOLLPRI | EPOLLERR)
54 # EPOLLIN or EPOLLPRI, just read the message
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Depoll.h20 #define EPOLLIN 0x001 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Depoll.h20 #define EPOLLIN 0x001 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Depoll.h20 #define EPOLLIN 0x001 macro

Completed in 9 milliseconds

123