/linux-6.14.4/tools/testing/selftests/pidfd/ |
D | pidfd_file_handle_test.c | 28 int pidfd; in FIXTURE() local 148 int pidfd = -EBADF; in TEST_F() local 195 int pidfd = -EBADF; in TEST_F() local 257 int pidfd = open_by_handle_at(self->pidfd, fh, 0); in TEST_F() local 276 int mnt_id, pidfd, child_pidfd3; in TEST_F() local 315 int mnt_id, pidfd, child_pidfd3; in TEST_F() local 355 int pidfd = -EBADF; in TEST_F() local 391 int pidfd = -EBADF; in TEST_F() local 481 int mnt_id, pidfd; in TEST_F() local
|
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 201 int pidfd = -1; in test_pidfd_send_signal_recycled_pid_fail() local 353 int pidfd, ret; in test_pidfd_send_signal_syscall_support() local 395 static void poll_pidfd(const char *test_name, int pidfd) in poll_pidfd() 445 int pid, pidfd = 0; in test_pidfd_poll_exec() local 511 int pid, pidfd = 0; in test_pidfd_poll_leader_exit() local
|
D | pidfd_wait.c | 31 int pidfd = -1; in TEST() local 79 int pidfd = -1; in TEST() local 140 int pidfd; in TEST() local
|
D | pidfd.h | 106 static inline int sys_pidfd_send_signal(int pidfd, int sig, siginfo_t *info, in sys_pidfd_send_signal() 112 static inline int sys_pidfd_getfd(int pidfd, int fd, int flags) in sys_pidfd_getfd() 122 static inline pid_t create_child(int *pidfd, unsigned flags) in create_child()
|
D | pidfd_bind_mount.c | 95 int pidfd; in FIXTURE() local 145 int pidfd; in TEST_F() local
|
D | pidfd_open_test.c | 113 static pid_t get_pid_from_fdinfo_file(int pidfd, const char *key, size_t keylen) in get_pid_from_fdinfo_file() 153 int pidfd = -1, ret = 1; in main() local
|
D | pidfd_fdinfo_test.c | 164 static int verify_fdinfo(int pidfd, struct error *err, const char *prefix, in verify_fdinfo() 219 int pidfd; in child_fdinfo_nspid_test() local
|
D | pidfd_poll_test.c | 48 int pidfd; in main() local
|
D | pidfd_getfd_test.c | 127 int pidfd; in FIXTURE() local
|
D | pidfd_setns_test.c | 102 int pidfd; in FIXTURE() local
|
/linux-6.14.4/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-6.14.4/tools/testing/selftests/mm/ |
D | mrelease_test.c | 51 static void run_negative_tests(int pidfd) in run_negative_tests() 79 int pipefd[2], pidfd; in main() local
|
D | guard-pages.c | 58 static ssize_t sys_process_madvise(int pidfd, const struct iovec *iovec, in sys_process_madvise() 374 int pidfd = pidfd_open(pid, 0); in TEST_F() local
|
/linux-6.14.4/tools/testing/selftests/net/af_unix/ |
D | scm_pidfd.c | 94 static pid_t get_pid_from_fdinfo_file(int pidfd, const char *key, size_t keylen) in get_pid_from_fdinfo_file() 138 int *pidfd = NULL; in cmsg_check() local
|
/linux-6.14.4/kernel/ |
D | pid.c | 565 struct task_struct *pidfd_get_task(int pidfd, unsigned int *flags) in pidfd_get_task() 602 int pidfd; in pidfd_create() local 854 SYSCALL_DEFINE3(pidfd_getfd, int, pidfd, int, fd, in SYSCALL_DEFINE3() argument
|
/linux-6.14.4/tools/testing/selftests/clone3/ |
D | clone3_selftests.h | 24 __aligned_u64 pidfd; member
|
/linux-6.14.4/samples/vfs/ |
D | test-list-all-mounts.c | 75 int ret, pidfd, fd_mntns; in main() local
|
D | mountinfo.c | 214 int pidfd, mntns, ret, opt; in main() local
|
/linux-6.14.4/include/uapi/linux/ |
D | sched.h | 94 __aligned_u64 pidfd; member
|
D | fanotify.h | 187 __s32 pidfd; member
|
/linux-6.14.4/tools/perf/trace/beauty/include/uapi/linux/ |
D | sched.h | 94 __aligned_u64 pidfd; member
|
/linux-6.14.4/include/linux/sched/ |
D | task.h | 25 int __user *pidfd; member
|
/linux-6.14.4/fs/notify/fanotify/ |
D | fanotify_user.c | 529 static int copy_pidfd_info_to_user(int pidfd, in copy_pidfd_info_to_user() 575 unsigned int info_mode, int pidfd, in copy_info_records_to_user() 716 int ret, pidfd = -ESRCH, fd = -EBADF; in copy_event_to_user() local
|
/linux-6.14.4/include/net/ |
D | scm.h | 139 int len, pidfd; in scm_pidfd_recv() local
|
/linux-6.14.4/mm/ |
D | oom_kill.c | 1204 SYSCALL_DEFINE2(process_mrelease, int, pidfd, unsigned int, flags) in SYSCALL_DEFINE2() argument
|