/Linux-v6.1/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 23 static long sys_kcmp(int pid1, int pid2, int type, unsigned long fd1, unsigned long fd2) in sys_kcmp() argument 25 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); in sys_kcmp() 35 int pid1, pid2; in main() local 43 pid1 = getpid(); in main() 104 pid1, pid2, in main() 105 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main() 106 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main() 107 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main() 108 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main() 109 sys_kcmp(pid1, pid2, KCMP_SIGHAND, 0, 0), in main() [all …]
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | fib_nexthops.sh | 1066 local pid1 1087 pid1=$! 1098 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5 1099 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null 1114 local pid1 1141 pid1=$! 1154 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5 1155 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null 1838 local pid1 1859 pid1=$! [all …]
|
/Linux-v6.1/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 154 pid_t pid1; in test_pidfd_send_signal_recycled_pid_fail() local 192 pid1 = fork(); in test_pidfd_send_signal_recycled_pid_fail() 193 if (pid1 < 0) in test_pidfd_send_signal_recycled_pid_fail() 197 if (pid1 == 0) { in test_pidfd_send_signal_recycled_pid_fail() 323 ret = wait_for_pid(pid1); in test_pidfd_send_signal_recycled_pid_fail()
|
D | pidfd_getfd_test.c | 30 static int sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, in sys_kcmp() argument 33 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in sys_kcmp()
|
/Linux-v6.1/kernel/ |
D | kcmp.c | 135 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument 146 task1 = find_task_by_vpid(pid1); in SYSCALL_DEFINE5()
|
D | pid.c | 370 struct pid *pid1 = left->thread_pid; in exchange_tids() local 372 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID]; in exchange_tids() 380 rcu_assign_pointer(right->thread_pid, pid1); in exchange_tids() 384 WRITE_ONCE(right->pid, pid_nr(pid1)); in exchange_tids()
|
/Linux-v6.1/arch/parisc/include/asm/ |
D | kgdb.h | 51 unsigned long pid1; member
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 921 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all() local 923 if (!pid1) in vmw_mksstat_remove_all() 926 if (pid1 == pid0) { in vmw_mksstat_remove_all() 951 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all() local 953 if (!pid1) in vmw_mksstat_remove_all() 956 if (pid1 == pid0) { in vmw_mksstat_remove_all()
|
/Linux-v6.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 298 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2) in __filecmp() argument 302 return syscall(__NR_kcmp, pid1, pid2, KCMP_FILE, fd1, fd2); in __filecmp() 310 #define filecmp(pid1, pid2, fd1, fd2) ({ \ argument 313 _ret = __filecmp(pid1, pid2, fd1, fd2); \ 3955 pid_t pid1, pid2; in TEST() local 3968 pid1 = fork(); in TEST() 3969 if (pid1 < 0) in TEST() 3972 if (pid1 == 0) in TEST() 3990 if (waitpid(pid1, &status, 0) != pid1 || !WIFEXITED(status) || in TEST()
|
/Linux-v6.1/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 202 __u32 pid1, pid2; member
|
/Linux-v6.1/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 202 __u32 pid1, pid2; member
|
/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_init.c | 9215 uint32_t pid1, pid2; in qla24xx_get_fcp_prio() local 9237 pid1 = pri_entry->src_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio() 9239 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio() 9241 else if (pid1 == pid2) in qla24xx_get_fcp_prio() 9247 pid1 = pri_entry->dst_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio() 9249 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio() 9251 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
|
/Linux-v6.1/include/linux/ |
D | syscalls.h | 992 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,
|