Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c160 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(efd, EPOLL_CTL_ADD, sfd[2], events), 0); in TEST()
[all …]
/OK3568_Linux_fs/kernel/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()
H A Depoll-wait.c221 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()
338 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/external/recovery/minui/
H A Devents.c91 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev)) { in ev_init()
125 ret = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); in ev_add_fd()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Deventpoll.h26 #define EPOLL_CTL_ADD 1 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Depoll.h70 #define EPOLL_CTL_ADD 1 /* Add a file descriptor to the interface. */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Depoll.h70 #define EPOLL_CTL_ADD 1 /* Add a file descriptor to the interface. */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A 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()
H A Dreuseport_dualstack.c142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
H A Dreuseport_bpf_numa.c208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) in test()
H A Dreuseport_addr_any.c206 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_bpf.c228 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order()
H A Dtxtimestamp.c530 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) in do_test()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dirq.c99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); in os_add_epoll_fd()
/OK3568_Linux_fs/kernel/tools/testing/vsock/
H A Dutil.c63 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in vsock_wait_remote_close()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dringbuf.c135 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { in ring_buffer__add()
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_test.c408 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) { in poll_pidfd()
/OK3568_Linux_fs/kernel/fs/
H A Deventpoll.c2199 if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) || in do_epoll_ctl()
2228 if (op == EPOLL_CTL_ADD) { in do_epoll_ctl()
2270 case EPOLL_CTL_ADD: in do_epoll_ctl()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c267 err = epoll_ctl(ctx->epoll_fd, EPOLL_CTL_ADD, r->map_fd, &ctx->event); in ringbuf_custom_setup()
/OK3568_Linux_fs/external/mpp/osal/
H A Dmpp_time.cpp301 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, timer_fd, &event) < 0) in mpp_timer_get()
/OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/
H A Dhciattach_rtk.c2023 if (epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { in rtb_init()
2038 if (epoll_ctl(rtb_cfg.epollfd, EPOLL_CTL_ADD, in rtb_init()

12