epfd 251 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_epoll_ctl(int epfd, int op, int fd, epfd 260 arch/arm/kernel/sys_oabi-compat.c return sys_epoll_ctl(epfd, op, fd, NULL); epfd 267 arch/arm/kernel/sys_oabi-compat.c ret = sys_epoll_ctl(epfd, op, fd, &kernel); epfd 272 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_epoll_wait(int epfd, epfd 292 arch/arm/kernel/sys_oabi-compat.c ret = sys_epoll_wait(epfd, kbuf, maxevents, timeout); epfd 2108 fs/eventpoll.c SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd, epfd 2125 fs/eventpoll.c f = fdget(epfd); epfd 2264 fs/eventpoll.c static int do_epoll_wait(int epfd, struct epoll_event __user *events, epfd 2280 fs/eventpoll.c f = fdget(epfd); epfd 2306 fs/eventpoll.c SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events, epfd 2309 fs/eventpoll.c return do_epoll_wait(epfd, events, maxevents, timeout); epfd 2316 fs/eventpoll.c SYSCALL_DEFINE6(epoll_pwait, int, epfd, struct epoll_event __user *, events, epfd 2330 fs/eventpoll.c error = do_epoll_wait(epfd, events, maxevents, timeout); epfd 2337 fs/eventpoll.c COMPAT_SYSCALL_DEFINE6(epoll_pwait, int, epfd, epfd 2353 fs/eventpoll.c err = do_epoll_wait(epfd, events, maxevents, timeout); epfd 537 include/linux/compat.h asmlinkage long compat_sys_epoll_pwait(int epfd, epfd 360 include/linux/syscalls.h asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, epfd 362 include/linux/syscalls.h asmlinkage long sys_epoll_pwait(int epfd, struct epoll_event __user *events, epfd 1104 include/linux/syscalls.h asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events, epfd 41 tools/testing/selftests/bpf/test_select_reuseport.c static int epfd; epfd 378 tools/testing/selftests/bpf/test_select_reuseport.c nev = epoll_wait(epfd, &ev, 1, expected >= PASS ? 5 : 0); epfd 554 tools/testing/selftests/bpf/test_select_reuseport.c nev = epoll_wait(epfd, &ev, 1, 5); epfd 640 tools/testing/selftests/bpf/test_select_reuseport.c epfd = epoll_create(1); epfd 641 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(epfd == -1, "epoll_create(1)", epfd 642 tools/testing/selftests/bpf/test_select_reuseport.c "epfd:%d errno:%d\n", epfd, errno); epfd 647 tools/testing/selftests/bpf/test_select_reuseport.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev); epfd 681 tools/testing/selftests/bpf/test_select_reuseport.c close(epfd); epfd 310 tools/testing/selftests/bpf/test_sock_fields.c int listen_fd, cli_fd, accept_fd, epfd, err; epfd 318 tools/testing/selftests/bpf/test_sock_fields.c epfd = epoll_create(1); epfd 319 tools/testing/selftests/bpf/test_sock_fields.c CHECK(epfd == -1, "epoll_create()", "epfd:%d errno:%d", epfd, errno); epfd 363 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, listen_fd, &ev); epfd 369 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_wait(epfd, &ev, 1, 1000); epfd 381 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, cli_fd, &ev); epfd 394 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_wait(epfd, &ev, 1, 1000); epfd 405 tools/testing/selftests/bpf/test_sock_fields.c close(epfd); epfd 168 tools/testing/selftests/net/reuseport_addr_any.c static int receive_once(int epfd, int proto) epfd 174 tools/testing/selftests/net/reuseport_addr_any.c i = epoll_wait(epfd, &ev, 1, 3); epfd 197 tools/testing/selftests/net/reuseport_addr_any.c int epfd, i, send_fd, recv_fd; epfd 199 tools/testing/selftests/net/reuseport_addr_any.c epfd = epoll_create(1); epfd 200 tools/testing/selftests/net/reuseport_addr_any.c if (epfd < 0) epfd 206 tools/testing/selftests/net/reuseport_addr_any.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) epfd 212 tools/testing/selftests/net/reuseport_addr_any.c recv_fd = receive_once(epfd, proto); epfd 217 tools/testing/selftests/net/reuseport_addr_any.c close(epfd); epfd 219 tools/testing/selftests/net/reuseport_bpf.c int epfd, conn, i, sport, expected; epfd 222 tools/testing/selftests/net/reuseport_bpf.c epfd = epoll_create(1); epfd 223 tools/testing/selftests/net/reuseport_bpf.c if (epfd < 0) epfd 228 tools/testing/selftests/net/reuseport_bpf.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) epfd 242 tools/testing/selftests/net/reuseport_bpf.c i = epoll_wait(epfd, &ev, 1, -1); epfd 151 tools/testing/selftests/net/reuseport_bpf_cpu.c void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) epfd 157 tools/testing/selftests/net/reuseport_bpf_cpu.c i = epoll_wait(epfd, &ev, 1, -1); epfd 187 tools/testing/selftests/net/reuseport_bpf_cpu.c int epfd, cpu; epfd 192 tools/testing/selftests/net/reuseport_bpf_cpu.c epfd = epoll_create(1); epfd 193 tools/testing/selftests/net/reuseport_bpf_cpu.c if (epfd < 0) epfd 198 tools/testing/selftests/net/reuseport_bpf_cpu.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) epfd 205 tools/testing/selftests/net/reuseport_bpf_cpu.c receive_on_cpu(rcv_fd, len, epfd, cpu, proto); epfd 211 tools/testing/selftests/net/reuseport_bpf_cpu.c receive_on_cpu(rcv_fd, len, epfd, cpu, proto); epfd 217 tools/testing/selftests/net/reuseport_bpf_cpu.c receive_on_cpu(rcv_fd, len, epfd, cpu, proto); epfd 223 tools/testing/selftests/net/reuseport_bpf_cpu.c receive_on_cpu(rcv_fd, len, epfd, cpu, proto); epfd 226 tools/testing/selftests/net/reuseport_bpf_cpu.c close(epfd); epfd 161 tools/testing/selftests/net/reuseport_bpf_numa.c void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) epfd 167 tools/testing/selftests/net/reuseport_bpf_numa.c i = epoll_wait(epfd, &ev, 1, -1); epfd 197 tools/testing/selftests/net/reuseport_bpf_numa.c int epfd, node; epfd 202 tools/testing/selftests/net/reuseport_bpf_numa.c epfd = epoll_create(1); epfd 203 tools/testing/selftests/net/reuseport_bpf_numa.c if (epfd < 0) epfd 208 tools/testing/selftests/net/reuseport_bpf_numa.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) epfd 215 tools/testing/selftests/net/reuseport_bpf_numa.c receive_on_node(rcv_fd, len, epfd, node, proto); epfd 221 tools/testing/selftests/net/reuseport_bpf_numa.c receive_on_node(rcv_fd, len, epfd, node, proto); epfd 224 tools/testing/selftests/net/reuseport_bpf_numa.c close(epfd); epfd 102 tools/testing/selftests/net/reuseport_dualstack.c static int receive_once(int epfd, int proto) epfd 108 tools/testing/selftests/net/reuseport_dualstack.c i = epoll_wait(epfd, &ev, 1, -1); epfd 131 tools/testing/selftests/net/reuseport_dualstack.c int epfd, i, test_fd; epfd 135 tools/testing/selftests/net/reuseport_dualstack.c epfd = epoll_create(1); epfd 136 tools/testing/selftests/net/reuseport_dualstack.c if (epfd < 0) epfd 142 tools/testing/selftests/net/reuseport_dualstack.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) epfd 148 tools/testing/selftests/net/reuseport_dualstack.c test_fd = receive_once(epfd, proto); epfd 156 tools/testing/selftests/net/reuseport_dualstack.c close(epfd); epfd 249 tools/testing/selftests/net/tcp_fastopen_backup_key.c int fd, epfd; epfd 253 tools/testing/selftests/net/tcp_fastopen_backup_key.c epfd = epoll_create(1); epfd 254 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epfd < 0) epfd 259 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) epfd 270 tools/testing/selftests/net/tcp_fastopen_backup_key.c i = epoll_wait(epfd, &ev, 1, -1); epfd 278 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) epfd 285 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL))