/linux-6.12.1/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 175 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-6.12.1/arch/um/os-Linux/ |
D | irq.c | 99 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() 133 return epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event); in os_del_epoll_fd()
|
/linux-6.12.1/tools/perf/bench/ |
D | epoll-ctl.c | 123 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd() 128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 142 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in do_epoll_op() 146 error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); in do_epoll_op() 149 error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); in do_epoll_op() 218 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps()
|
D | epoll-wait.c | 221 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); in workerfn() 227 ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); in workerfn() 263 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd() 268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 345 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
|
/linux-6.12.1/tools/thermal/lib/ |
D | mainloop.c | 71 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev) < 0) { in mainloop_add() 81 if (epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL) < 0) in mainloop_del()
|
/linux-6.12.1/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 64 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-6.12.1/tools/testing/selftests/net/packetdrill/ |
D | tcp_zerocopy_epoll_oneshot.pkt | 27 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4, 50 +0 epoll_ctl(5, EPOLL_CTL_MOD, 4, {events=EPOLLOUT|EPOLLONESHOT, fd=4}) = 0
|
D | tcp_zerocopy_epoll_edge.pkt | 26 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4, {events=EPOLLOUT|EPOLLET, fd=4}) = 0
|
D | tcp_zerocopy_epoll_exclusive.pkt | 27 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4,
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 257 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in run_one_test() 276 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) in run_one_test() 283 if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL)) in run_one_test()
|
D | reuseport_dualstack.c | 142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
D | reuseport_bpf_numa.c | 208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
|
D | reuseport_addr_any.c | 206 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
D | reuseport_bpf_cpu.c | 198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/ |
D | userfaultfd_util.c | 41 TEST_ASSERT(!epoll_ctl(epollfd, EPOLL_CTL_ADD, uffd, &evt), in uffd_handler_thread_fn() 46 TEST_ASSERT(!epoll_ctl(epollfd, EPOLL_CTL_ADD, reader_args->pipe, &evt), in uffd_handler_thread_fn()
|
/linux-6.12.1/tools/lib/bpf/ |
D | ringbuf.c | 157 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { in ring_buffer__add() 507 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, rb_epoll) < 0) { in user_ringbuf_map()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | test_struct_ops_module.c | 276 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in test_detach_link()
|
/linux-6.12.1/tools/testing/selftests/connector/ |
D | proc_filter.c | 120 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, nl_sock, &evn) < 0) { in register_proc_netlink()
|
/linux-6.12.1/kernel/ |
D | sys_ni.c | 56 COND_SYSCALL(epoll_ctl);
|
/linux-6.12.1/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 409 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-bench.txt | 251 Suite for evaluating multiple epoll_ctl calls.
|
/linux-6.12.1/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 267 err = epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, r->map_fd, &ctx->event); in ringbuf_custom_setup()
|
/linux-6.12.1/tools/testing/vsock/ |
D | util.c | 76 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close()
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | fp-stress.c | 136 ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, child->stdout, &ev); in child_start()
|
/linux-6.12.1/tools/testing/selftests/net/af_unix/ |
D | msg_oob.c | 130 ret = epoll_ctl(self->epoll_fd[i], EPOLL_CTL_ADD, self->fd[i * 2 + 1], &event); in setup_epollpri()
|