Searched refs:pid_t (Results 176 - 200 of 530) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tasks.c25 if (task->pid != (pid_t)tid)
H A Dbpf_iter_task_vmas.c38 if (task->tgid != (pid_t)pid) {
/linux-master/tools/tracing/rtla/src/
H A Dutils.h65 int set_pid_cgroup(pid_t pid, const char *cgroup);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c302 static int __filecmp(pid_t pid1, pid_t pid2, int fd1, int fd2)
591 pid_t parent = getppid();
678 pid_t parent = getppid();
711 pid_t parent = getppid();
750 pid_t parent = getppid();
867 pid_t child_pid;
886 pid_t child_pid;
905 pid_t child_pid;
962 pid_t paren
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcpumask.c29 pid_t child_pid;
H A Dd_path.c33 static int set_pathname(int fd, pid_t pid)
41 static int trigger_fstat_events(pid_t pid)
/linux-master/tools/perf/util/
H A Dauxtrace.h254 pid_t pid;
255 pid_t tid;
280 pid_t tid;
344 pid_t tid;
369 pid_t tid;
609 int code, int cpu, pid_t pid, pid_t tid, u64 ip,
611 pid_t machine_pid, int vcpu);
613 int code, int cpu, pid_t pid, pid_t ti
[all...]
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c229 pid_t mypid = getpid();
352 static void mess_with_syscall(pid_t testpid, enum ptrace_pass pass)
396 static void syscall_numbering_tracer(pid_t testpid)
401 pid_t wpid = waitpid(testpid, &wstatus, 0);
423 pid_t testpid;
/linux-master/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c94 static pid_t get_pid_from_fdinfo_file(int pidfd, const char *key, size_t keylen)
100 pid_t result = -1;
139 pid_t parent_pid;
220 pid_t client_pid;
301 pid_t peer_pid;
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c33 static pid_t pidfd_clone(int flags, int *pidfd, int (*fn)(void *))
96 pid_t pid;
155 pid_t pid1;
200 pid_t pid2;
246 pid_t recycled_pid;
/linux-master/tools/perf/tests/
H A Dswitch-tracking.c66 pid_t *tids;
78 (pid_t)event->comm.pid == getpid() &&
79 (pid_t)event->comm.tid == getpid() &&
100 switch_tracking->tids = calloc(nr, sizeof(pid_t));
112 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t));
131 pid_t next_tid, prev_tid;
H A Dattr.c68 static int store_event(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
147 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c411 int taskset_benchmark(pid_t bm_pid, int cpu_no, cpu_set_t *old_affinity)
443 int taskset_restore(pid_t bm_pid, cpu_set_t *old_affinity)
501 static int write_pid_to_tasks(char *tasks, pid_t pid)
537 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp,
802 pid_t pid;
858 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
/linux-master/include/linux/
H A Dsyscalls.h541 asmlinkage long sys_waitid(int which, pid_t pid,
622 asmlinkage long sys_sched_setparam(pid_t pid,
624 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy,
626 asmlinkage long sys_sched_getscheduler(pid_t pid);
627 asmlinkage long sys_sched_getparam(pid_t pid,
629 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
631 asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len,
636 asmlinkage long sys_sched_rr_get_interval(pid_t pid,
638 asmlinkage long sys_sched_rr_get_interval_time32(pid_t pid,
641 asmlinkage long sys_kill(pid_t pi
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c88 pid_t pid = fork();
110 pid_t pid = vfork();
/linux-master/security/tomoyo/
H A Dmemory.c20 static pid_t tomoyo_last_pid;
21 const pid_t pid = current->pid;
/linux-master/tools/perf/arch/x86/tests/
H A Dbp-modify.c61 pid_t child;
138 pid_t child;
/linux-master/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c98 pid_t newpid, waiting, oldpid;
180 pid_t parent, waiting;
/linux-master/tools/testing/selftests/breakpoints/
H A Dstep_after_suspend_test.c53 pid_t pid = fork();
54 pid_t wpid;
/linux-master/tools/testing/selftests/kvm/
H A Dhardware_disable_test.c124 void wait_for_child_setup(pid_t pid)
158 pid_t pid;
/linux-master/tools/testing/selftests/nsfs/
H A Downer.c31 pid_t pid;
H A Dpidns.c48 pid_t pid;
/linux-master/tools/testing/selftests/timens/
H A Dexec.c25 pid_t pid;
H A Dfutex.c66 pid_t pid;
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dstack_expansion_signal.c75 pid_t pid;

Completed in 204 milliseconds

1234567891011>>