Searched refs:pid1 (Results 1 - 18 of 18) sorted by relevance

/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c23 static long sys_kcmp(int pid1, int pid2, int type, unsigned long fd1, unsigned long fd2) argument
25 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2);
35 int pid1, pid2; local
43 pid1 = getpid();
101 printf("pid1: %6d pid2: %6d FD: %2ld FILES: %2ld VM: %2ld "
104 pid1, pid2,
105 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2),
106 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0),
107 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0),
108 sys_kcmp(pid1, pid
[all...]
/linux-master/arch/parisc/include/asm/
H A Dkgdb.h53 unsigned long pid1; member in struct:parisc_gdb_regs
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtc_links.c19 __u32 pid1, pid2, lid1, lid2; local
28 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
31 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
63 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]");
118 __u32 pid1, pid2, pid3, pid4; local
141 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
146 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
185 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]");
240 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]");
272 __u32 pid1, pid local
426 __u32 pid1, pid2, lid1, lid2; local
527 __u32 pid1, pid2, pid3; local
631 __u32 pid1, pid2, pid3, lid1, lid2; local
857 __u32 pid1, pid2, lid1; local
1170 __u32 pid1, pid2, pid3, pid4; local
1326 __u32 pid1, pid2, pid3, pid4; local
1481 __u32 pid1, pid2, pid3, pid4; local
1582 __u32 pid1, pid2, pid3; local
1693 __u32 pid1, pid2, pid3; local
1795 __u32 pid1, pid2, pid3, pid4; local
[all...]
H A Dtc_netkit.c148 __u32 pid1, pid2, lid1, lid2; local
171 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
174 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
206 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]");
262 __u32 pid1, pid2, lid1, lid2; local
285 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
288 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
319 ASSERT_EQ(optq.prog_ids[0], pid1, "prog_ids[0]");
359 ASSERT_EQ(optq.prog_ids[1], pid1, "prog_ids[1]");
390 __u32 pid1, pid local
504 __u32 pid1, pid2, lid1; local
615 __u32 pid1, lid1; local
[all...]
H A Dtc_opts.c1402 __u32 pid1, pid2, pid3, pid4, lid2, lid4; local
1426 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
1431 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
1579 __u32 pid1, pid2; local
1595 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1));
1597 ASSERT_NEQ(pid1, pid2, "prog_ids_1_2");
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c155 pid_t pid1; local
193 pid1 = fork();
194 if (pid1 < 0)
198 if (pid1 == 0) {
324 ret = wait_for_pid(pid1);
H A Dpidfd_getfd_test.c31 static int sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, argument
34 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
/linux-master/tools/testing/selftests/net/
H A Dfib_nexthops.sh1191 local pid1
1212 pid1=$!
1223 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5
1224 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null
1239 local pid1
1266 pid1=$!
1279 kill -9 $pid1 $pid2 $pid3 $pid4 $pid5
1280 wait $pid1 $pid2 $pid3 $pid4 $pid5 2>/dev/null
1963 local pid1
1984 pid1
[all...]
H A Dtest_bridge_backup_port.sh655 local pid1
678 pid1=$!
683 kill -9 $pid1 $pid2
684 wait $pid1 $pid2 2>/dev/null
H 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
/linux-master/kernel/
H A Dkcmp.c137 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type,
148 task1 = find_task_by_vpid(pid1);
H A Dpid.c384 struct pid *pid1 = left->thread_pid; local
386 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID];
394 rcu_assign_pointer(right->thread_pid, pid1);
398 WRITE_ONCE(right->pid, pid_nr(pid1));
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c897 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); local
899 if (!pid1)
902 if (pid1 == pid0) {
927 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); local
929 if (!pid1)
932 if (pid1 == pid0) {
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c302 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2) argument
306 return syscall(__NR_kcmp, pid1, pid2, KCMP_FILE, fd1, fd2);
314 #define filecmp(pid1, pid2, fd1, fd2) ({ \
317 _ret = __filecmp(pid1, pid2, fd1, fd2); \
3985 pid_t pid1, pid2; local
3998 pid1 = fork();
3999 if (pid1 < 0)
4002 if (pid1 == 0)
4020 if (waitpid(pid1, &status, 0) != pid1 || !WIFEXITE
[all...]
/linux-master/tools/arch/powerpc/include/uapi/asm/
H A Dkvm.h202 __u32 pid1, pid2; member in struct:kvm_sregs::__anon1893::__anon1898::__anon1899::__anon1900
/linux-master/arch/powerpc/include/uapi/asm/
H A Dkvm.h201 __u32 pid1, pid2; member in struct:kvm_sregs::__anon29::__anon34::__anon35::__anon36
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_init.c9461 uint32_t pid1, pid2; local
9483 pid1 = pri_entry->src_pid & INVALID_PORT_ID;
9485 if (pid1 == INVALID_PORT_ID)
9487 else if (pid1 == pid2)
9493 pid1 = pri_entry->dst_pid & INVALID_PORT_ID;
9495 if (pid1 == INVALID_PORT_ID)
9497 else if (pid1 == pid2)
/linux-master/include/linux/
H A Dsyscalls.h891 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,

Completed in 320 milliseconds