Home
last modified time | relevance | path

Searched refs:pid2 (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/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
81 pid2 = fork(); in main()
82 if (pid2 < 0) { in main()
87 if (!pid2) { in main()
88 int pid2 = getpid(); in main() local
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()
[all …]
/Linux-v4.19/tools/testing/selftests/powerpc/math/
Dfpu_syscall.c54 pid_t pid2; in test_syscall_fpu() local
60 pid2 = fork(); in test_syscall_fpu()
62 if (pid2 == -1) { in test_syscall_fpu()
69 if (pid2) in test_syscall_fpu()
70 waitpid(pid2, &child_ret, 0); in test_syscall_fpu()
Dvmx_syscall.c55 pid_t pid2; in test_vmx_syscall() local
61 pid2 = fork(); in test_vmx_syscall()
64 if (pid2 == -1) { in test_vmx_syscall()
70 if (pid2) in test_vmx_syscall()
71 waitpid(pid2, &child_ret, 0); in test_vmx_syscall()
/Linux-v4.19/kernel/
Dkcmp.c152 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
164 task2 = find_task_by_vpid(pid2); in SYSCALL_DEFINE5()
/Linux-v4.19/tools/testing/selftests/net/
Dtls.c600 int pid2; in TEST_F() local
610 pid2 = wait(&status); in TEST_F()
612 EXPECT_EQ(res, pid2); in TEST_F()
654 int pid2; in TEST_F() local
670 pid2 = wait(&status); in TEST_F()
673 EXPECT_EQ(res, pid2); in TEST_F()
/Linux-v4.19/tools/perf/util/
Djitdump.c703 pid_t pid2; in jit_detect() local
731 pid2 = (int)strtol(p, &end, 10); in jit_detect()
739 if (pid && pid2 != pid) in jit_detect()
/Linux-v4.19/tools/arch/powerpc/include/uapi/asm/
Dkvm.h202 __u32 pid1, pid2; member
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dkvm.h202 __u32 pid1, pid2; member
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c162 COMPAT_SYSCALL_WRAP5(kcmp, pid_t, pid1, pid_t, pid2, int, type, unsigned long, idx1, unsigned long,…
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_init.c8415 uint32_t pid1, pid2; in qla24xx_get_fcp_prio() local
8438 pid2 = vha->d_id.b24 & INVALID_PORT_ID; in qla24xx_get_fcp_prio()
8441 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
8448 pid2 = fcport->d_id.b24 & INVALID_PORT_ID; in qla24xx_get_fcp_prio()
8451 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
/Linux-v4.19/include/linux/
Dsyscalls.h867 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,