/openbmc/linux/tools/testing/selftests/kcmp/ |
H A 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 …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_links.c | 21 __u32 pid1, pid2, lid1, lid2; in serial_test_tc_links_basic() local 30 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_links_basic() 33 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in serial_test_tc_links_basic() 65 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in serial_test_tc_links_basic() 120 __u32 pid1, pid2, pid3, pid4; in test_tc_links_before_target() local 143 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_links_before_target() 148 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in test_tc_links_before_target() 187 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in test_tc_links_before_target() 242 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]"); in test_tc_links_before_target() 274 __u32 pid1, pid2, pid3, pid4; in test_tc_links_after_target() local [all …]
|
H A D | tc_opts.c | 1402 __u32 pid1, pid2, pid3, pid4, lid2, lid4; in test_tc_opts_mixed_target() local 1426 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_opts_mixed_target() 1431 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in test_tc_opts_mixed_target() 1579 __u32 pid1, pid2; in test_tc_opts_demixed_target() local 1595 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_opts_demixed_target() 1597 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in test_tc_opts_demixed_target()
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/ |
H A D | syslog | 86 pid1=`pidof syslogd` 89 waitpid $pid1
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_test.c | 155 pid_t pid1; in test_pidfd_send_signal_recycled_pid_fail() local 193 pid1 = fork(); in test_pidfd_send_signal_recycled_pid_fail() 194 if (pid1 < 0) in test_pidfd_send_signal_recycled_pid_fail() 198 if (pid1 == 0) { in test_pidfd_send_signal_recycled_pid_fail() 324 ret = wait_for_pid(pid1); in test_pidfd_send_signal_recycled_pid_fail()
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | fib_nexthops.sh | 1195 local pid1 1216 pid1=$! 1227 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5 1228 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null 1243 local pid1 1270 pid1=$! 1283 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5 1284 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null 1967 local pid1 1988 pid1=$! [all …]
|
H A D | test_bridge_backup_port.sh | 655 local pid1 678 pid1=$! 683 kill -9 $pid1 $pid2 684 wait $pid1 $pid2 2>/dev/null
|
H A D | test_vxlan_mdb.sh | 2176 local pid1 2195 pid1=$! 2204 kill -9 $pid1 $pid2 $pid3 $pid4 2205 wait $pid1 $pid2 $pid3 $pid4 2>/dev/null
|
/openbmc/linux/kernel/ |
H A 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()
|
H A D | pid.c | 373 struct pid *pid1 = left->thread_pid; in exchange_tids() local 375 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID]; in exchange_tids() 383 rcu_assign_pointer(right->thread_pid, pid1); in exchange_tids() 387 WRITE_ONCE(right->pid, pid_nr(pid1)); in exchange_tids()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 897 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all() local 899 if (!pid1) in vmw_mksstat_remove_all() 902 if (pid1 == pid0) { in vmw_mksstat_remove_all() 927 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all() local 929 if (!pid1) in vmw_mksstat_remove_all() 932 if (pid1 == pid0) { in vmw_mksstat_remove_all()
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | kgdb.h | 53 unsigned long pid1; member
|
/openbmc/qemu/tests/tcg/multiarch/linux/ |
H A D | linux-test.c | 410 pid_t pid1, pid2; in test_clone() local 413 pid1 = chk_error(clone(thread1_func, stack1 + STACK_SIZE, in test_clone() 424 wait_for_child(pid1); in test_clone()
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 302 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2) in __filecmp() argument 306 return syscall(__NR_kcmp, pid1, pid2, KCMP_FILE, fd1, fd2); in __filecmp() 314 #define filecmp(pid1, pid2, fd1, fd2) ({ \ argument 317 _ret = __filecmp(pid1, pid2, fd1, fd2); \ 3986 pid_t pid1, pid2; in TEST() local 3999 pid1 = fork(); in TEST() 4000 if (pid1 < 0) in TEST() 4003 if (pid1 == 0) in TEST() 4021 if (waitpid(pid1, &status, 0) != pid1 || !WIFEXITED(status) || in TEST()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 202 __u32 pid1, pid2; member
|
/openbmc/qemu/linux-headers/asm-powerpc/ |
H A D | kvm.h | 201 __u32 pid1, pid2; member
|
/openbmc/linux/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 202 __u32 pid1, pid2; member
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 9519 uint32_t pid1, pid2; in qla24xx_get_fcp_prio() local 9541 pid1 = pri_entry->src_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio() 9543 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio() 9545 else if (pid1 == pid2) in qla24xx_get_fcp_prio() 9551 pid1 = pri_entry->dst_pid & INVALID_PORT_ID; in qla24xx_get_fcp_prio() 9553 if (pid1 == INVALID_PORT_ID) in qla24xx_get_fcp_prio() 9555 else if (pid1 == pid2) in qla24xx_get_fcp_prio()
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 879 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,
|
/openbmc/qemu/target/ppc/ |
H A D | kvm.c | 1147 env->spr[SPR_BOOKE_PID1] = sregs.u.e.impl.fsl.pid1; in kvmppc_get_booke_sregs()
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 412 _syscall5(int, kcmp, pid_t, pid1, pid_t, pid2, int, type,
|