Home
last modified time | relevance | path

Searched refs:EPOLL_CTL_ADD (Results 1 – 25 of 32) sorted by relevance

12

/linux/tools/testing/selftests/filesystems/epoll/
H A 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, sf in TEST()
[all...]
/linux/tools/perf/bench/
H A Depoll-ctl.c123 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()
218 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps()
/linux/tools/testing/selftests/kcmp/
H A 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/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c41 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/include/uapi/linux/
H A Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/linux/tools/thermal/lib/
H A Dmainloop.c71 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev) < 0) { in mainloop_add()
/linux/arch/um/os-Linux/
H A Dirq.c99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd()
H A Dsigio.c67 CATCH_EINTR(r = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event)); in __add_sigio_fd()
/linux/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c257 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()
H A Dreuseport_dualstack.c143 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
H A Dreuseport_bpf_cpu.c198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
H A Dreuseport_addr_any.c187 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in receive_once()
H A Dreuseport_bpf_numa.c208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_epoll_edge.pkt29 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4, {events=EPOLLOUT|EPOLLET, fd=4}) = 0
H A Dtcp_zerocopy_epoll_exclusive.pkt30 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4,
H A Dtcp_zerocopy_epoll_oneshot.pkt30 +0 epoll_ctl(5, EPOLL_CTL_ADD, 4,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_struct_ops_module.c276 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in test_detach_link()
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c333 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd_coredump, &ev) < 0) { in process_coredump_worker()
334 fprintf(stderr, "Worker: epoll_ctl(EPOLL_CTL_ADD) failed: %m\n"); in process_coredump_worker()
/linux/tools/testing/selftests/connector/
H A Dproc_filter.c120 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, nl_sock, &evn) < 0) { in register_proc_netlink()
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c139 ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, child->stdout, &ev); in start_thread()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c461 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c320 err = epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, r->map_fd, &ctx->event); in ringbuf_custom_process_ring()
/linux/fs/
H A Deventpoll.c52 * ->private_data is a struct eventpoll. Each EPOLL_CTL_ADD installs
60 * deep; cycles are forbidden and detected at EPOLL_CTL_ADD time.
68 * epnested_mutex (global; rare; taken only for EPOLL_CTL_ADD
90 * When EPOLL_CTL_ADD nests one eventpoll inside another we acquire
377 * Cycle and path-length checks at EPOLL_CTL_ADD
380 * When EPOLL_CTL_ADD creates a link that either targets an eventpoll
462 * ctx->tfile_check_list during one EPOLL_CTL_ADD path check.
809 * epoll_ctl(efd1, EPOLL_CTL_ADD, dfd, ...); in ep_free()
810 * epoll_ctl(efd2, EPOLL_CTL_ADD, efd1, ...); in ep_free()
1650 * Enforced at EPOLL_CTL_ADD; CTL_MO in ep_insert()
[all...]
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c138 ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, child->stdout, &ev); in child_start()
/linux/tools/testing/selftests/net/af_unix/
H A Dmsg_oob.c130 ret = epoll_ctl(self->epoll_fd[i], EPOLL_CTL_ADD, self->fd[i * 2 + 1], &event); in setup_epollpri()

12