/linux-6.6.21/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 18 int efd[3]; member 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 67 pfd.fd = ctx->efd[0]; in waiter_entry1ap() 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 94 pfd.fd = ctx->efd[0]; in waiter_entry1op() 97 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1op() 109 if (epoll_wait(ctx->efd[0], events, 2, -1) > 0) in waiter_entry2a() 121 pfd.fd = ctx->efd[0]; in waiter_entry2ap() 124 if (epoll_wait(ctx->efd[0], events, 2, 0) > 0) in waiter_entry2ap() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | task_fd_query_rawtp.c | 10 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()
|
D | task_fd_query_tp.c | 8 int err, bytes, efd, prog_fd, pmu_fd; in test_task_fd_query_tp_core() local 27 efd = open(buf, O_RDONLY, 0); in test_task_fd_query_tp_core() 28 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in test_task_fd_query_tp_core() 30 bytes = read(efd, buf, sizeof(buf)); in test_task_fd_query_tp_core() 31 close(efd); in test_task_fd_query_tp_core()
|
D | tp_attach_query.c | 7 int i, j, bytes, efd, err, prog_fd[num_progs], pmu_fd[num_progs]; in serial_test_tp_attach_query() local 26 efd = open(buf, O_RDONLY, 0); in serial_test_tp_attach_query() 27 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in serial_test_tp_attach_query() 29 bytes = read(efd, buf, sizeof(buf)); in serial_test_tp_attach_query() 30 close(efd); in serial_test_tp_attach_query()
|
/linux-6.6.21/tools/cgroup/ |
D | cgroup_event_listener.c | 24 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-6.6.21/tools/testing/selftests/bpf/ |
D | get_cgroup_id_user.c | 52 int err, bytes, efd, prog_fd, pmu_fd; in main() local 96 efd = open(buf, O_RDONLY, 0); in main() 97 if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) in main() 99 bytes = read(efd, buf, sizeof(buf)); in main() 100 close(efd); in main()
|
/linux-6.6.21/drivers/scsi/ |
D | ses.c | 500 struct efd { struct 508 struct efd *efd = data; in ses_enclosure_find_by_addr() local 514 if (scomp->addr != efd->addr) in ses_enclosure_find_by_addr() 517 if (enclosure_add_device(edev, i, efd->dev) == 0) in ses_enclosure_find_by_addr() 518 kobject_uevent(&efd->dev->kobj, KOBJ_CHANGE); in ses_enclosure_find_by_addr() 648 struct efd efd = { in ses_match_to_enclosure() local 656 efd.addr = sas_get_address(sdev); in ses_match_to_enclosure() 658 if (efd.addr) { in ses_match_to_enclosure() 659 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure() 661 enclosure_for_each_device(ses_enclosure_find_by_addr, &efd); in ses_match_to_enclosure()
|
/linux-6.6.21/tools/perf/bench/ |
D | epoll-wait.c | 191 int efd = multiq ? w->epollfd : epollfd; in workerfn() local 208 ret = epoll_wait(efd, &ev, 1, to); in workerfn() 221 ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); in workerfn() 227 ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); in workerfn() 244 int efd = multiq ? w->epollfd : epollfd; in nest_epollfd() local 268 if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) in nest_epollfd() 335 int efd = multiq ? w->epollfd : epollfd; in do_threads() local 345 ret = epoll_ctl(efd, EPOLL_CTL_ADD, in do_threads()
|
/linux-6.6.21/mm/ |
D | vmpressure.c | 151 struct eventfd_ctx *efd; member 172 eventfd_signal(ev->efd, 1); in vmpressure_event() 411 ev->efd = eventfd; in vmpressure_register_event() 443 if (ev->efd != eventfd) in vmpressure_unregister_event()
|
D | memcontrol.c | 4864 unsigned int efd, cfd; in memcg_write_event_control() local 4877 efd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control() 4897 efile = fdget(efd); in memcg_write_event_control()
|
/linux-6.6.21/samples/bpf/ |
D | task_fd_query_user.c | 234 int err = -1, res, kfd, efd; in test_debug_fs_uprobe() local 257 efd = open(buf, O_RDONLY, 0); in test_debug_fs_uprobe() 258 CHECK_PERROR_RET(efd < 0); in test_debug_fs_uprobe() 260 bytes = read(efd, buf, sizeof(buf)); in test_debug_fs_uprobe() 262 close(efd); in test_debug_fs_uprobe()
|
/linux-6.6.21/include/uapi/linux/ |
D | kcmp.h | 23 __u32 efd; /* epoll file descriptor */ member
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | kcmp.h | 23 __u32 efd; /* epoll file descriptor */ member
|
/linux-6.6.21/tools/testing/selftests/connector/ |
D | proc_filter.c | 82 int register_proc_netlink(int *efd, void *input) in register_proc_netlink() argument 125 *efd = epoll_fd; in register_proc_netlink()
|
/linux-6.6.21/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 142 .efd = epollfd, in main()
|
/linux-6.6.21/kernel/ |
D | kcmp.c | 113 filp_epoll = fget_task(task2, slot.efd); in kcmp_epoll_target()
|
/linux-6.6.21/tools/testing/selftests/iommu/ |
D | iommufd.c | 896 int efd; in TEST_F() local 901 efd = eventfd(0, EFD_CLOEXEC); in TEST_F() 902 ASSERT_NE(-1, efd); in TEST_F() 913 if (write(efd, &one, sizeof(one)) != sizeof(one)) in TEST_F() 921 ASSERT_EQ(8, read(efd, &tmp, sizeof(tmp))); in TEST_F()
|
/linux-6.6.21/Documentation/trace/ |
D | tracepoint-analysis.rst | 324 0.00 : 34efd: ff
|