Home
last modified time | relevance | path

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

/tools/testing/selftests/kcmp/
A Dkcmp_test.c35 int pid1, pid2; in main() local
43 pid1 = getpid(); in main()
104 pid1, pid2, 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()
110 sys_kcmp(pid1, pid2, KCMP_IO, 0, 0), in main()
111 sys_kcmp(pid1, pid2, KCMP_SYSVSEM, 0, 0), in main()
129 ret = sys_kcmp(pid1, pid1, KCMP_VM, 0, 0); in main()
[all …]
/tools/testing/selftests/bpf/prog_tests/
A Dtc_links.c21 __u32 pid1, pid2, lid1, lid2; in test_ns_tc_links_basic() local
120 __u32 pid1, pid2, pid3, pid4; in test_tc_links_before_target() local
274 __u32 pid1, pid2, pid3, pid4; in test_tc_links_after_target() local
428 __u32 pid1, pid2, lid1, lid2; in test_tc_links_revision_target() local
529 __u32 pid1, pid2, pid3; in test_tc_chain_classic() local
677 .relative_id = pid1, in test_tc_links_replace_target()
859 __u32 pid1, pid2, lid1; in test_tc_links_invalid_target() local
1134 .relative_id = pid1, in test_tc_links_invalid_target()
1172 __u32 pid1, pid2, pid3, pid4; in test_tc_links_prepend_target() local
1584 __u32 pid1, pid2, pid3; in test_tc_chain_mixed() local
[all …]
A Dtc_netkit.c191 __u32 pid1, pid2, lid1, lid2; in serial_test_tc_netkit_basic() local
218 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in serial_test_tc_netkit_basic()
250 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]"); in serial_test_tc_netkit_basic()
306 __u32 pid1, pid2, lid1, lid2; in serial_test_tc_netkit_multi_links_target() local
333 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in serial_test_tc_netkit_multi_links_target()
435 __u32 pid1, pid2, fd1, fd2; in serial_test_tc_netkit_multi_opts_target() local
453 pid1 = id_from_prog_fd(fd1); in serial_test_tc_netkit_multi_opts_target()
456 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in serial_test_tc_netkit_multi_opts_target()
550 __u32 pid1, pid2, lid1; in serial_test_tc_netkit_device() local
582 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2"); in serial_test_tc_netkit_device()
[all …]
A Dtc_opts.c1402 __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()
/tools/perf/tests/shell/
A Drecord_lbr.sh131 pid1=$!
149 for pid in $pid1 $pid2 $pid3 $pid4 $pid5 $pid6 $pid7 $pid8 $pid9
/tools/testing/selftests/pidfd/
A Dpidfd_test.c207 pid_t pid1; in test_pidfd_send_signal_recycled_pid_fail() local
245 pid1 = fork(); in test_pidfd_send_signal_recycled_pid_fail()
246 if (pid1 < 0) in test_pidfd_send_signal_recycled_pid_fail()
250 if (pid1 == 0) { in test_pidfd_send_signal_recycled_pid_fail()
376 ret = wait_for_pid(pid1); in test_pidfd_send_signal_recycled_pid_fail()
A Dpidfd_getfd_test.c31 static int sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, in sys_kcmp() argument
34 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in sys_kcmp()
/tools/testing/selftests/net/
A Dfib_nexthops.sh1246 local pid1
1267 pid1=$!
1278 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5
1294 local pid1
1321 pid1=$!
1334 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5
2018 local pid1
2039 pid1=$!
2050 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5
2066 local pid1
[all …]
A Dtest_bridge_backup_port.sh655 local pid1
678 pid1=$!
683 kill -9 $pid1 $pid2
684 wait $pid1 $pid2 2>/dev/null
A Dtest_vxlan_mdb.sh2369 local pid1
2388 pid1=$!
2397 kill -9 $pid1 $pid2 $pid3 $pid4
2398 wait $pid1 $pid2 $pid3 $pid4 2>/dev/null
/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c315 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2) in __filecmp() argument
319 return syscall(__NR_kcmp, pid1, pid2, KCMP_FILE, fd1, fd2); in __filecmp()
327 #define filecmp(pid1, pid2, fd1, fd2) ({ \ argument
330 _ret = __filecmp(pid1, pid2, fd1, fd2); \
4049 pid_t pid1, pid2; in TEST() local
4062 pid1 = fork(); in TEST()
4063 if (pid1 < 0) in TEST()
4066 if (pid1 == 0) in TEST()
4084 if (waitpid(pid1, &status, 0) != pid1 || !WIFEXITED(status) || in TEST()
/tools/arch/powerpc/include/uapi/asm/
A Dkvm.h201 __u32 pid1, pid2; member

Completed in 47 milliseconds