/openbmc/linux/tools/testing/selftests/filesystems/epoll/ |
H A 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 …]
|
/openbmc/linux/tools/perf/bench/ |
H A 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() 218 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) in init_fdmaps()
|
H A D | epoll-wait.c | 221 ret = epoll_ctl(efd, EPOLL_CTL_ADD, 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()
|
/openbmc/linux/tools/testing/selftests/kcmp/ |
H A 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()
|
/openbmc/qemu/util/ |
H A D | fdmon-epoll.c | 47 r = epoll_ctl(ctx->epollfd, EPOLL_CTL_ADD, new_node->pfd.fd, &event); in fdmon_epoll_update() 114 r = epoll_ctl(ctx->epollfd, EPOLL_CTL_ADD, node->pfd.fd, &event); in fdmon_epoll_try_enable()
|
/openbmc/linux/include/uapi/linux/ |
H A D | eventpoll.h | 26 #define EPOLL_CTL_ADD 1 macro
|
/openbmc/linux/tools/thermal/lib/ |
H A D | mainloop.c | 82 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev) < 0) { in mainloop_add()
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | irq.c | 99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
H A D | reuseport_dualstack.c | 142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
H A D | reuseport_bpf_cpu.c | 198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
|
H A D | reuseport_addr_any.c | 206 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
H A D | reuseport_bpf_numa.c | 208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
|
H A D | reuseport_bpf.c | 226 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order()
|
H A D | txtimestamp.c | 530 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) in do_test()
|
H A D | tls.c | 1810 ASSERT_GE(epoll_ctl(epollfd, EPOLL_CTL_ADD, self->cfd2, &ev), 0); in TEST_F()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | ringbuf.c | 153 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { in ring_buffer__add() 411 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, rb_epoll) < 0) { in user_ringbuf_map()
|
/openbmc/linux/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 120 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, nl_sock, &evn) < 0) { in register_proc_netlink()
|
/openbmc/linux/tools/testing/vsock/ |
H A D | util.c | 63 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close()
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 409 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
|
/openbmc/linux/fs/ |
H A D | eventpoll.c | 2198 if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) || in do_epoll_ctl() 2227 if (op == EPOLL_CTL_ADD) { in do_epoll_ctl() 2257 case EPOLL_CTL_ADD: in do_epoll_ctl()
|
/openbmc/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_ringbufs.c | 267 err = epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, r->map_fd, &ctx->event); in ringbuf_custom_setup()
|
/openbmc/linux/tools/testing/selftests/arm64/fp/ |
H A D | fp-stress.c | 135 ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, child->stdout, &ev); in child_start()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 398 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, c1, &ev); in test_sockmap_skb_verdict_shutdown()
|
H A D | select_reuseport.c | 663 err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev); in prepare_sk_fds()
|