Home
last modified time | relevance | path

Searched refs:pid1 (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/tools/testing/selftests/kcmp/
Dkcmp_test.c23 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()
101 pid1, pid2, in main()
102 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main()
103 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main()
104 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main()
105 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main()
106 sys_kcmp(pid1, pid2, KCMP_SIGHAND, 0, 0), in main()
[all …]
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c137 pid_t pid1; in test_pidfd_send_signal_recycled_pid_fail() local
157 pid1 = fork(); in test_pidfd_send_signal_recycled_pid_fail()
158 if (pid1 < 0) in test_pidfd_send_signal_recycled_pid_fail()
162 if (pid1 == 0) { in test_pidfd_send_signal_recycled_pid_fail()
288 ret = wait_for_pid(pid1); in test_pidfd_send_signal_recycled_pid_fail()
/Linux-v5.4/arch/parisc/include/asm/
Dkgdb.h51 unsigned long pid1; member
/Linux-v5.4/kernel/
Dkcmp.c152 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
163 task1 = find_task_by_vpid(pid1); in SYSCALL_DEFINE5()
/Linux-v5.4/arch/powerpc/include/uapi/asm/
Dkvm.h202 __u32 pid1, pid2; member
/Linux-v5.4/tools/arch/powerpc/include/uapi/asm/
Dkvm.h202 __u32 pid1, pid2; member
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_init.c8701 uint32_t pid1, pid2; in qla24xx_get_fcp_prio() local
8723 pid1 = pri_entry->src_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio()
8725 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio()
8727 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
8733 pid1 = pri_entry->dst_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio()
8735 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio()
8737 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
/Linux-v5.4/include/linux/
Dsyscalls.h949 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,