Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/tools/perf/bench/
Depoll-ctl.c124 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
129 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
143 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in do_epoll_op()
219 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps()
Depoll-wait.c222 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); in workerfn()
264 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd()
269 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
339 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
/Linux-v5.4/include/uapi/linux/
Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/Linux-v5.4/arch/um/os-Linux/
Dirq.c99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd()
/Linux-v5.4/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()
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_bpf_cpu.c198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
Dreuseport_addr_any.c202 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
Dreuseport_bpf.c228 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_sock_fields.c363 err = epoll_ctl(epfd, EPOLL_CTL_ADD, listen_fd, &ev); in test()
381 err = epoll_ctl(epfd, EPOLL_CTL_ADD, cli_fd, &ev); in test()
Dtest_select_reuseport.c647 err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev); in prepare_sk_fds()
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c371 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
/Linux-v5.4/fs/
Deventpoll.c2155 if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) || in SYSCALL_DEFINE4()
2182 if (op == EPOLL_CTL_ADD) { in SYSCALL_DEFINE4()
2214 case EPOLL_CTL_ADD: in SYSCALL_DEFINE4()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c5559 if (epoll_ctl(pb->epoll_fd, EPOLL_CTL_ADD, cpu_buf->fd, in __perf_buffer__new()