/Linux-v6.1/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 33 static pid_t pidfd_clone(int flags, int *pidfd, int (*fn)(void *)) in pidfd_clone() 59 int pidfd, ret; in test_pidfd_send_signal_simple_success() local 94 int pidfd, ret, saved_errno; in test_pidfd_send_signal_exited_fail() local 200 int pidfd = -1; in test_pidfd_send_signal_recycled_pid_fail() local 352 int pidfd, ret; in test_pidfd_send_signal_syscall_support() local 394 static void poll_pidfd(const char *test_name, int pidfd) in poll_pidfd() 444 int pid, pidfd = 0; in test_pidfd_poll_exec() local 510 int pid, pidfd = 0; in test_pidfd_poll_leader_exit() local
|
D | pidfd_wait.c | 42 int pidfd = -1; in TEST() local 90 int pidfd = -1; in TEST() local 151 int pidfd; in TEST() local
|
D | pidfd_open_test.c | 86 static pid_t get_pid_from_fdinfo_file(int pidfd, const char *key, size_t keylen) in get_pid_from_fdinfo_file() 123 int pidfd = -1, ret = 1; in main() local
|
D | pidfd.h | 102 static inline int sys_pidfd_send_signal(int pidfd, int sig, siginfo_t *info, in sys_pidfd_send_signal() 108 static inline int sys_pidfd_getfd(int pidfd, int fd, int flags) in sys_pidfd_getfd()
|
D | pidfd_fdinfo_test.c | 163 static int verify_fdinfo(int pidfd, struct error *err, const char *prefix, in verify_fdinfo() 218 int pidfd; in child_fdinfo_nspid_test() local
|
D | pidfd_poll_test.c | 48 int pidfd; in main() local
|
D | pidfd_setns_test.c | 55 int pidfd; in FIXTURE() local 75 pid_t create_child(int *pidfd, unsigned flags) in create_child()
|
D | pidfd_getfd_test.c | 126 int pidfd; in FIXTURE() local
|
/Linux-v6.1/samples/pidfd/ |
D | pidfd-metadata.c | 34 static pid_t pidfd_clone(int flags, int *pidfd) in pidfd_clone() 46 static inline int sys_pidfd_send_signal(int pidfd, int sig, siginfo_t *info, in sys_pidfd_send_signal() 52 static int pidfd_metadata_fd(pid_t pid, int pidfd) in pidfd_metadata_fd() 86 int pidfd = -1, ret = EXIT_FAILURE; in main() local
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | mrelease_test.c | 63 static void run_negative_tests(int pidfd) in run_negative_tests() 97 int pipefd[2], pidfd; in main() local
|
/Linux-v6.1/tools/testing/selftests/clone3/ |
D | clone3_selftests.h | 28 __aligned_u64 pidfd; member
|
/Linux-v6.1/kernel/ |
D | pid.c | 560 struct task_struct *pidfd_get_task(int pidfd, unsigned int *flags) in pidfd_get_task() 724 SYSCALL_DEFINE3(pidfd_getfd, int, pidfd, int, fd, in SYSCALL_DEFINE3() argument
|
D | fork.c | 1994 int pidfd = -1, retval; in copy_process() local
|
D | signal.c | 3846 SYSCALL_DEFINE4(pidfd_send_signal, int, pidfd, int, sig, in SYSCALL_DEFINE4() argument
|
/Linux-v6.1/include/linux/sched/ |
D | task.h | 23 int __user *pidfd; member
|
/Linux-v6.1/fs/notify/fanotify/ |
D | fanotify_user.c | 473 static int copy_pidfd_info_to_user(int pidfd, in copy_pidfd_info_to_user() 495 unsigned int info_mode, int pidfd, in copy_info_records_to_user() 627 int ret, pidfd = FAN_NOPIDFD, fd = FAN_NOFD; in copy_event_to_user() local
|
/Linux-v6.1/include/uapi/linux/ |
D | sched.h | 94 __aligned_u64 pidfd; member
|
D | fanotify.h | 182 __s32 pidfd; member
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | sched.h | 94 __aligned_u64 pidfd; member
|
/Linux-v6.1/mm/ |
D | oom_kill.c | 1200 SYSCALL_DEFINE2(process_mrelease, int, pidfd, unsigned int, flags) in SYSCALL_DEFINE2() argument
|
D | madvise.c | 1445 SYSCALL_DEFINE5(process_madvise, int, pidfd, const struct iovec __user *, vec, in SYSCALL_DEFINE5() argument
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 296 int pidfd; in test_task_pidfd() local
|