/kernel/linux/linux-6.6/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(ef in TEST() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 160 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST() 191 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST() 223 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST() 226 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST() 261 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST() 264 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST() 299 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST() 338 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); in TEST() 379 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); in TEST() 382 ASSERT_EQ(epoll_ctl(ef in TEST() [all...] |
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A 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() 134 result = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event); in os_del_epoll_fd()
|
/kernel/linux/linux-6.6/arch/um/os-Linux/ |
H A 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()
|
/kernel/linux/linux-6.6/tools/thermal/lib/ |
H A D | mainloop.c | 82 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev) < 0) { in mainloop_add() 95 if (epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL) < 0) in mainloop_del()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | epoll-ctl.c | 5 * Benchmark the various operations allowed for epoll_ctl(2). 123 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd() 125 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 129 err(EXIT_FAILURE, "epoll_ctl"); 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() 351 printf("Run summary [PID %d]: %d threads doing epoll_ctl op in bench_epoll_ctl() [all...] |
H A 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() 265 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 269 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 338 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads() 341 err(EXIT_FAILURE, "epoll_ctl"); in do_threads()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | epoll-ctl.c | 5 * Benchmark the various operations allowed for epoll_ctl(2). 123 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, in nest_epollfd() 125 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 129 err(EXIT_FAILURE, "epoll_ctl"); 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() 364 printf("Run summary [PID %d]: %d threads doing epoll_ctl op in bench_epoll_ctl() [all...] |
H A 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() 265 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 269 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd() 345 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads() 348 err(EXIT_FAILURE, "epoll_ctl"); in do_threads()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 64 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { in main() 65 perror("epoll_ctl failed"); in main() 75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main() 76 perror("epoll_ctl failed"); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 64 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { in main() 65 perror("epoll_ctl failed"); in main() 75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { in main() 76 perror("epoll_ctl failed"); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 259 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()
|
H A D | reuseport_dualstack.c | 142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &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_cpu.c | 198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
|
/kernel/linux/linux-6.6/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() 283 if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL)) in run_one_test()
|
H A D | reuseport_dualstack.c | 142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
/kernel/liteos_a/testsuites/unittest/fuzz/ |
H A D | epoll_ctl_fuzzer.cpp | 47 epoll_ctl(number0, number1, number2, (struct epoll_event *)datainput); in TestEpollCtl()
|
/kernel/liteos_a/fs/vfs/include/ |
H A D | epoll.h | 77 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev);
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | IO_test_epoll_001.cpp | 68 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
|
H A D | IO_test_epoll_002.cpp | 92 retval = epoll_ctl(epFd, EPOLL_CTL_ADD, pipeFd[0], &ev); in testcase()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
H A D | util.c | 63 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close() 64 perror("epoll_ctl"); in vsock_wait_remote_close()
|
/kernel/liteos_a/fs/vfs/epoll/ |
H A D | fs_epoll.c | 237 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *ev) in epoll_ctl() function
|