Home
last modified time | relevance | path

Searched refs:efd (Results 1 – 16 of 16) sorted by relevance

/linux/tools/testing/selftests/filesystems/epoll/
A Depoll_wakeup_test.c18 int efd[3]; member
165 int efd; in TEST() local
182 close(efd); in TEST()
196 int efd; in TEST() local
213 close(efd); in TEST()
227 int efd; in TEST() local
265 int efd; in TEST() local
303 int efd; in TEST() local
342 int efd; in TEST() local
382 int efd; in TEST() local
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtask_fd_query_rawtp.c10 int efd, err, prog_fd; in test_task_fd_query_rawtp() local
18 efd = bpf_raw_tracepoint_open("sys_enter", prog_fd); in test_task_fd_query_rawtp()
19 if (CHECK(efd < 0, "raw_tp_open", "err %d errno %d\n", efd, errno)) in test_task_fd_query_rawtp()
24 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
38 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
50 err = bpf_task_fd_query(getpid(), efd, 0, 0, &len, &prog_id, in test_task_fd_query_rawtp()
62 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
A Dtask_fd_query_tp.c8 int err, bytes, efd, prog_fd, pmu_fd; in test_task_fd_query_tp_core() local
22 efd = open(buf, O_RDONLY, 0); in test_task_fd_query_tp_core()
23 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in test_task_fd_query_tp_core()
25 bytes = read(efd, buf, sizeof(buf)); in test_task_fd_query_tp_core()
26 close(efd); in test_task_fd_query_tp_core()
A Dtp_attach_query.c7 int i, j, bytes, efd, err, prog_fd[num_progs], pmu_fd[num_progs]; in serial_test_tp_attach_query() local
21 efd = open(buf, O_RDONLY, 0); in serial_test_tp_attach_query()
22 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in serial_test_tp_attach_query()
24 bytes = read(efd, buf, sizeof(buf)); in serial_test_tp_attach_query()
25 close(efd); in serial_test_tp_attach_query()
/linux/tools/cgroup/
A Dcgroup_event_listener.c24 int efd = -1; in main() local
47 efd = eventfd(0, 0); in main()
48 if (efd == -1) in main()
51 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); in main()
62 ret = read(efd, &result, sizeof(result)); in main()
/linux/tools/testing/selftests/bpf/
A Dget_cgroup_id_user.c52 int err, bytes, efd, prog_fd, pmu_fd; in main() local
88 efd = open(buf, O_RDONLY, 0); in main()
89 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in main()
91 bytes = read(efd, buf, sizeof(buf)); in main()
92 close(efd); in main()
/linux/tools/perf/bench/
A Depoll-wait.c190 int efd = multiq ? w->epollfd : epollfd; in workerfn() local
207 ret = epoll_wait(efd, &ev, 1, to); in workerfn()
220 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); in workerfn()
226 ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); in workerfn()
243 int efd = multiq ? w->epollfd : epollfd; in nest_epollfd() local
267 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd()
327 int efd = multiq ? w->epollfd : epollfd; in do_threads() local
337 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
/linux/drivers/scsi/
A Dses.c482 struct efd { struct
490 struct efd *efd = data; in ses_enclosure_find_by_addr() local
499 if (scomp->addr != efd->addr) in ses_enclosure_find_by_addr()
502 if (enclosure_add_device(edev, i, efd->dev) == 0) in ses_enclosure_find_by_addr()
503 kobject_uevent(&efd->dev->kobj, KOBJ_CHANGE); in ses_enclosure_find_by_addr()
620 struct efd efd = { in ses_match_to_enclosure() local
628 efd.addr = sas_get_address(sdev); in ses_match_to_enclosure()
630 if (efd.addr) { in ses_match_to_enclosure()
631 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure()
633 enclosure_for_each_device(ses_enclosure_find_by_addr, &efd); in ses_match_to_enclosure()
/linux/mm/
A Dvmpressure.c151 struct eventfd_ctx *efd; member
172 eventfd_signal(ev->efd, 1); in vmpressure_event()
403 ev->efd = eventfd; in vmpressure_register_event()
435 if (ev->efd != eventfd) in vmpressure_unregister_event()
A Dmemcontrol.c4724 unsigned int efd, cfd; in memcg_write_event_control() local
4733 efd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control()
4753 efile = fdget(efd); in memcg_write_event_control()
/linux/samples/bpf/
A Dtask_fd_query_user.c235 int err = -1, res, kfd, efd; in test_debug_fs_uprobe() local
258 efd = open(buf, O_RDONLY, 0); in test_debug_fs_uprobe()
259 CHECK_PERROR_RET(efd < 0); in test_debug_fs_uprobe()
261 bytes = read(efd, buf, sizeof(buf)); in test_debug_fs_uprobe()
263 close(efd); in test_debug_fs_uprobe()
/linux/tools/include/uapi/linux/
A Dkcmp.h23 __u32 efd; /* epoll file descriptor */ member
/linux/include/uapi/linux/
A Dkcmp.h23 __u32 efd; /* epoll file descriptor */ member
/linux/tools/testing/selftests/kcmp/
A Dkcmp_test.c139 .efd = epollfd, in main()
/linux/kernel/
A Dkcmp.c113 filp_epoll = fget_task(task2, slot.efd); in kcmp_epoll_target()
/linux/Documentation/trace/
A Dtracepoint-analysis.rst324 0.00 : 34efd: ff

Completed in 62 milliseconds