Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c175 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
206 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
238 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
241 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
276 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
279 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
314 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
353 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST()
394 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST()
397 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
[all …]
/Linux-v5.15/arch/um/os-Linux/
Dirq.c99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd()
117 result = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &event); in os_mod_epoll_fd()
134 result = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event); in os_del_epoll_fd()
/Linux-v5.15/tools/perf/bench/
Depoll-ctl.c122 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
127 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
141 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in do_epoll_op()
145 error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); in do_epoll_op()
148 error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); in do_epoll_op()
217 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps()
Depoll-wait.c220 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); in workerfn()
226 ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); in workerfn()
262 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
267 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
337 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
/Linux-v5.15/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()
/Linux-v5.15/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()
Dreuseport_dualstack.c142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
Dreuseport_bpf_numa.c208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
Dreuseport_addr_any.c206 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
Dreuseport_bpf_cpu.c198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
Dreuseport_bpf.c228 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order()
Dtxtimestamp.c530 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) in do_test()
/Linux-v5.15/tools/lib/bpf/
Dringbuf.c131 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { in ring_buffer__add()
/Linux-v5.15/tools/testing/vsock/
Dutil.c63 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close()
/Linux-v5.15/kernel/
Dsys_ni.c68 COND_SYSCALL(epoll_ctl);
/Linux-v5.15/tools/perf/Documentation/
Dperf-bench.txt229 Suite for evaluating multiple epoll_ctl calls.
/Linux-v5.15/tools/testing/selftests/pidfd/
Dpidfd_test.c408 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
/Linux-v5.15/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c267 err = epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, r->map_fd, &ctx->event); in ringbuf_custom_setup()
/Linux-v5.15/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl219 208 n64 epoll_ctl sys_epoll_ctl
Dsyscall_n32.tbl219 208 n32 epoll_ctl sys_epoll_ctl
/Linux-v5.15/arch/ia64/kernel/syscalls/
Dsyscall.tbl232 220 common epoll_ctl sys_epoll_ctl
/Linux-v5.15/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl219 208 n64 epoll_ctl sys_epoll_ctl
/Linux-v5.15/arch/xtensa/kernel/syscalls/
Dsyscall.tbl30 19 common epoll_ctl sys_epoll_ctl
/Linux-v5.15/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl244 233 common epoll_ctl sys_epoll_ctl
/Linux-v5.15/arch/x86/entry/syscalls/
Dsyscall_64.tbl244 233 common epoll_ctl sys_epoll_ctl

12