Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/bpf/bpftool/
A 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.3-rc2/tools/testing/selftests/bpf/map_tests/
A 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.3-rc2/kernel/bpf/
A 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.3-rc2/include/uapi/linux/
A Dbpf.h117 __u32 pid_fd; member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf.h117 __u32 pid_fd; member
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbpf_iter.c299 linfo.task.pid_fd = pidfd; in test_task_pidfd()

Completed in 39 milliseconds