Home
last modified time | relevance | path

Searched refs:pid_fd (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/bpf/bpftool/
Dperf.c157 DIR *proc, *pid_fd; in show_proc() local
182 pid_fd = opendir(buf); in show_proc()
183 if (!pid_fd) in show_proc()
186 while ((pid_fd_de = readdir(pid_fd))) { in show_proc()
213 closedir(pid_fd); in show_proc()
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/
Dtask_storage_map.c22 int pid_fd; member
37 bpf_map_lookup_elem(ctx->map_fd, &ctx->pid_fd, &value); in lookup_fn()
97 ctx.pid_fd = sys_pidfd_open(getpid(), 0); in test_task_storage_map_stress_lookup()
/linux-6.6.21/kernel/bpf/
Dtask_iter.c234 if ((!!linfo->task.tid + !!linfo->task.pid + !!linfo->task.pid_fd) > 1) in bpf_iter_attach_task()
246 if (linfo->task.pid_fd != 0) { in bpf_iter_attach_task()
249 pid = pidfd_get_pid(linfo->task.pid_fd, &flags); in bpf_iter_attach_task()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h118 __u32 pid_fd; member
/linux-6.6.21/include/uapi/linux/
Dbpf.h118 __u32 pid_fd; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c299 linfo.task.pid_fd = pidfd; in test_task_pidfd()