Searched refs:epoll (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/io_uring/
H A Depoll.c13 #include "epoll.h"
26 struct io_epoll *epoll = io_kiocb_to_cmd(req, struct io_epoll); local
31 epoll->epfd = READ_ONCE(sqe->fd);
32 epoll->op = READ_ONCE(sqe->len);
33 epoll->fd = READ_ONCE(sqe->off);
35 if (ep_op_has_event(epoll->op)) {
39 if (copy_from_user(&epoll->event, ev, sizeof(*ev)))
H A DMakefile7 openclose.o uring_cmd.o epoll.o \
/linux-master/tools/thermal/lib/
H A Dmainloop.c7 #include <sys/epoll.h>
/linux-master/tools/perf/tests/
H A Dsdt.c7 #include <sys/epoll.h>
/linux-master/arch/um/os-Linux/
H A Dirq.c10 #include <sys/epoll.h>
25 /* Helper to return an Epoll data pointer from an epoll event structure.
34 /* Helper to compare events versus the events in the epoll structure.
80 " epoll returned %d, error = %s\n", n,
90 * Helper to add a fd to epoll
125 * Helper to delete the epoll fd
/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c19 #include <sys/epoll.h>
140 /* Compare epoll target */
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf_multi.c4 #include <sys/epoll.h>
H A Dringbuf.c7 #include <sys/epoll.h>
/linux-master/tools/testing/selftests/filesystems/eventfd/
H A Deventfd_test.c12 #include <sys/epoll.h>
/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf_cpu.c27 #include <sys/epoll.h>
194 error(1, errno, "failed to create epoll");
199 error(1, errno, "failed to register sock epoll");
H A Dreuseport_dualstack.c24 #include <sys/epoll.h>
137 error(1, errno, "failed to create epoll");
143 error(1, errno, "failed to register sock epoll");
H A Dreuseport_addr_any.c19 #include <sys/epoll.h>
201 error(1, errno, "failed to create epoll");
207 error(1, errno, "failed to register sock epoll");
H A Dreuseport_bpf_numa.c20 #include <sys/epoll.h>
204 error(1, errno, "failed to create epoll");
209 error(1, errno, "failed to register sock epoll");
H A Dtcp_fastopen_backup_key.c23 #include <sys/epoll.h>
253 error(1, errno, "failed to create epoll");
258 error(1, errno, "failed to register sock epoll");
277 error(1, errno, "failed epoll add");
284 error(1, errno, "failed epoll del");
H A Dreuseport_bpf.c21 #include <sys/epoll.h>
222 error(1, errno, "failed to create epoll");
227 error(1, errno, "failed to register sock %d epoll", i);
242 error(1, errno, "epoll wait failed");
/linux-master/tools/thermal/thermal-engine/
H A Dthermal-engine.c22 #include <sys/epoll.h>
/linux-master/tools/testing/selftests/connector/
H A Dproc_filter.c4 #include <sys/epoll.h>
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c15 #include <sys/epoll.h>
402 ksft_exit_fail_msg("%s test: Failed to create epoll file descriptor "
410 ksft_exit_fail_msg("%s test: Failed to add epoll file descriptor "
/linux-master/tools/testing/selftests/
H A DMakefile28 TARGETS += filesystems/epoll
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c20 #include <sys/epoll.h>
541 ksft_exit_fail_msg("Failed to allocated %d epoll events\n",
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c6 #include <sys/epoll.h>
239 fprintf(stderr, "failed to create epoll fd: %d\n", -errno);
269 fprintf(stderr, "failed to epoll add ringbuf: %d\n", -errno);
493 fprintf(stderr, "perf epoll failed: %d\n", -errno);
/linux-master/tools/perf/bench/
H A Depoll-wait.c9 * epoll instance for N worker threads):
18 * queueing (which refers to one epoll instance per worker). For example,
29 * Naturally, the single queue will enforce more concurrency on the epoll
76 #include <sys/epoll.h>
96 * epoll related shared variables.
99 /* Maximum number of nesting allowed inside epoll sets */
108 static bool multiq; /* use an epoll instance per thread */
135 /* epoll specific options */
136 OPT_BOOLEAN( 'm', "multiq", &multiq, "Use multiple epoll instances (one per thread)"),
138 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarch
[all...]
H A Depoll-ctl.c6 * The idea is to concurrently stress a single epoll instance
22 #include <sys/epoll.h>
41 * epoll related shared variables.
44 /* Maximum number of nesting allowed inside epoll sets */
79 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)"),
86 "perf bench epoll ctl <options>",
255 * Lets add 50% of the fdmap to the epoll instance, and
337 /* a single, main epoll instance */
/linux-master/tools/testing/vsock/
H A Dutil.c18 #include <sys/epoll.h>
/linux-master/tools/lib/bpf/
H A Dringbuf.c18 #include <sys/epoll.h>
159 pr_warn("ringbuf: failed to epoll add map fd=%d: %d\n",
208 pr_warn("ringbuf: failed to create epoll instance: %d\n", err);
472 pr_warn("user ringbuf: failed to epoll add map fd=%d: %d\n", map_fd, err);
497 pr_warn("user ringbuf: failed to create epoll instance: %d\n", err);

Completed in 362 milliseconds

12