/linux-master/arch/um/os-Linux/ |
H A D | irq.c | 99 result = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event); 117 result = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &event); 133 return epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event);
|
/linux-master/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); 206 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); 238 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); 241 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); 276 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); 279 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[2], events), 0); 314 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); 353 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], &e), 0); 394 ASSERT_EQ(epoll_ctl(efd, EPOLL_CTL_ADD, sfd[0], events), 0); 397 ASSERT_EQ(epoll_ctl(ef [all...] |
/linux-master/tools/thermal/lib/ |
H A D | mainloop.c | 71 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev) < 0) { 81 if (epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL) < 0)
|
/linux-master/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, 125 err(EXIT_FAILURE, "epoll_ctl"); 128 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) 129 err(EXIT_FAILURE, "epoll_ctl"); 142 error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); 146 error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); 149 error = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, NULL); 218 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) 364 printf("Run summary [PID %d]: %d threads doing epoll_ctl op [all...] |
H A D | epoll-wait.c | 221 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); 227 ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); 263 if (epoll_ctl(epollfdp[i - 1], EPOLL_CTL_ADD, 265 err(EXIT_FAILURE, "epoll_ctl"); 268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) 269 err(EXIT_FAILURE, "epoll_ctl"); 345 ret = epoll_ctl(efd, EPOLL_CTL_ADD, 348 err(EXIT_FAILURE, "epoll_ctl");
|
/linux-master/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 64 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { 65 perror("epoll_ctl failed"); 75 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { 76 perror("epoll_ctl failed");
|
/linux-master/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 257 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) 276 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) 283 if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL))
|
H A D | reuseport_bpf_cpu.c | 198 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev))
|
H A D | reuseport_dualstack.c | 142 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev))
|
H A D | reuseport_addr_any.c | 206 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev))
|
H A D | reuseport_bpf_numa.c | 208 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev))
|
H A D | reuseport_bpf.c | 226 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev))
|
H A D | txtimestamp.c | 531 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) 532 error(1, errno, "epoll_ctl");
|
H A D | tls.c | 1889 ASSERT_GE(epoll_ctl(epollfd, EPOLL_CTL_ADD, self->cfd2, &ev), 0);
|
/linux-master/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 120 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, nl_sock, &evn) < 0) { 122 perror("epoll_ctl failed");
|
/linux-master/tools/lib/bpf/ |
H A D | ringbuf.c | 157 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, e) < 0) { 470 if (epoll_ctl(rb->epoll_fd, EPOLL_CTL_ADD, map_fd, rb_epoll) < 0) {
|
H A D | libbpf.c | 13147 if (epoll_ctl(pb->epoll_fd, EPOLL_CTL_ADD, cpu_buf->fd, 13150 pr_warn("failed to epoll_ctl cpu #%d perf FD %d: %s\n",
|
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 409 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, pidfd, &event)) {
|
/linux-master/kernel/ |
H A D | sys_ni.c | 56 COND_SYSCALL(epoll_ctl); variable
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | fp-stress.c | 136 ret = epoll_ctl(epoll_fd, EPOLL_CTL_ADD, child->stdout, &ev);
|
/linux-master/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);
|
/linux-master/tools/testing/vsock/ |
H A D | util.c | 76 if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev) == -1) { 77 perror("epoll_ctl");
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | select_reuseport.c | 663 err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev); 664 RET_IF(err, "epoll_ctl(EPOLL_CTL_ADD)", "sk_fds[%d]\n", i);
|
H A D | sockmap_basic.c | 398 err = epoll_ctl(epollfd, EPOLL_CTL_ADD, c1, &ev); 399 if (!ASSERT_OK(err, "epoll_ctl(EPOLL_CTL_ADD)"))
|
/linux-master/fs/ |
H A D | eventpoll.c | 60 * during epoll_ctl(EPOLL_CTL_DEL) and during eventpoll_release_file(). 71 * epoll_ctl(e1, EPOLL_CTL_ADD, e2), e1->mtx will always be acquired 569 * epoll_ctl(efd1, EPOLL_CTL_ADD, dfd, ...); 570 * epoll_ctl(efd2, EPOLL_CTL_ADD, efd1, ...); 702 * eventpoll_release_file() and epoll_ctl(). 1858 * into ep->rdllist besides us. The epoll_ctl() 2377 SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd,
|