/linux-6.12.1/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.12.1/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.12.1/samples/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.12.1/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.12.1/drivers/scsi/ |
D | ses.c | 526 struct efd { struct 534 struct efd *efd = data; in ses_enclosure_find_by_addr() argument 540 if (scomp->addr != efd->addr) in ses_enclosure_find_by_addr() 543 if (enclosure_add_device(edev, i, efd->dev) == 0) in ses_enclosure_find_by_addr() 544 kobject_uevent(&efd->dev->kobj, KOBJ_CHANGE); in ses_enclosure_find_by_addr() 674 struct efd efd = { in ses_match_to_enclosure() local 682 efd.addr = sas_get_address(sdev); in ses_match_to_enclosure() 684 if (efd.addr) { in ses_match_to_enclosure() 685 efd.dev = &sdev->sdev_gendev; in ses_match_to_enclosure() 687 enclosure_for_each_device(ses_enclosure_find_by_addr, &efd); in ses_match_to_enclosure()
|
/linux-6.12.1/mm/ |
D | vmpressure.c | 151 struct eventfd_ctx *efd; member 172 eventfd_signal(ev->efd); in vmpressure_event() 411 ev->efd = eventfd; in vmpressure_register_event() 443 if (ev->efd != eventfd) in vmpressure_unregister_event()
|
D | memcontrol-v1.c | 1938 unsigned int efd, cfd; in memcg_write_event_control() local 1951 efd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control() 1974 efile = fdget(efd); in memcg_write_event_control()
|
/linux-6.12.1/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.12.1/tools/include/uapi/linux/ |
D | kcmp.h | 23 __u32 efd; /* epoll file descriptor */ member
|
/linux-6.12.1/include/uapi/linux/ |
D | kcmp.h | 23 __u32 efd; /* epoll file descriptor */ member
|
/linux-6.12.1/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.12.1/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 142 .efd = epollfd, in main()
|
/linux-6.12.1/kernel/ |
D | kcmp.c | 115 filp_epoll = fget_task(task2, slot.efd); in kcmp_epoll_target()
|
/linux-6.12.1/tools/testing/selftests/iommu/ |
D | iommufd.c | 1190 int efd; in TEST_F() local 1195 efd = eventfd(0, EFD_CLOEXEC); in TEST_F() 1196 ASSERT_NE(-1, efd); in TEST_F() 1207 if (write(efd, &one, sizeof(one)) != sizeof(one)) in TEST_F() 1215 ASSERT_EQ(8, read(efd, &tmp, sizeof(tmp))); in TEST_F()
|
/linux-6.12.1/Documentation/trace/ |
D | tracepoint-analysis.rst | 324 0.00 : 34efd: ff
|