Searched refs:pid_fd (Results 1 – 6 of 6) sorted by relevance
157 DIR *proc, *pid_fd; in show_proc() local182 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()
22 int pid_fd; member37 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()
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()
118 __u32 pid_fd; member
299 linfo.task.pid_fd = pidfd; in test_task_pidfd()