Searched refs:pid_fd (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | perf.c | 157 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()
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | task_storage_map.c | 22 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()
|
/openbmc/linux/kernel/bpf/ |
H A D | task_iter.c | 234 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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 135 __u32 pid_fd; member
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 135 __u32 pid_fd; member
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_iter.c | 299 linfo.task.pid_fd = pidfd; in test_task_pidfd()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 6718 int pid_fd = 0; in do_fork() local 6721 pid_fd = pidfd_open(pid_child, 0); in do_fork() 6722 if (pid_fd >= 0) { in do_fork() 6723 fcntl(pid_fd, F_SETFD, fcntl(pid_fd, F_GETFL) in do_fork() 6726 pid_fd = 0; in do_fork() 6729 put_user_u32(pid_fd, parent_tidptr); in do_fork()
|