Searched refs:pid_t (Results 251 - 275 of 530) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_tp_btf.c26 pid_t target_pid = 0;
/linux-master/kernel/cgroup/
H A Dcgroup-v1.c181 pid_t *list;
237 static int pidlist_uniq(pid_t *list, int length)
274 return *(pid_t *)a - *(pid_t *)b;
329 pid_t *array;
345 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL);
364 sort(array, length, sizeof(pid_t), cmppid, NULL);
465 pid_t *p = v;
466 pid_t *end = l->list + l->length;
/linux-master/tools/perf/util/
H A Dperf_api_probe.c20 static pid_t pid = -1;
H A Dutil.h88 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
/linux-master/tools/testing/selftests/core/
H A Dclose_range_test.c88 pid_t pid;
177 pid_t pid;
362 pid_t pid;
444 pid_t pid;
/linux-master/tools/testing/selftests/resctrl/
H A Dcache.c46 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no)
/linux-master/tools/testing/selftests/mm/
H A Dmrelease_test.c82 pid_t pid;
H A Dmigration.c26 pid_t *pids;
145 pid_t pid;
/linux-master/drivers/misc/lkdtm/
H A Dbugs.c166 static pid_t stack_pid;
172 pid_t pid = task_pid_nr(current);
183 static pid_t stack_canary_pid;
190 pid_t pid = task_pid_nr(current);
/linux-master/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c62 static int wait_for_pid(pid_t pid)
138 pid_t pid = fork();
/linux-master/tools/testing/selftests/x86/
H A Dmov_ss_trap.c53 pid_t parent = getpid();
56 pid_t child = fork();
/linux-master/security/tomoyo/
H A Drealpath.c164 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10);
/linux-master/kernel/trace/
H A Dtrace_functions_graph.c23 pid_t last_pid;
349 static void print_graph_proc(struct trace_seq *s, pid_t pid)
389 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data)
391 pid_t prev_pid;
392 pid_t *last_pid;
518 enum trace_type type, int cpu, pid_t pid, u32 flags)
970 pid_t pid = ent->pid;
1292 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid);
/linux-master/drivers/android/
H A Dbinder_internal.h518 pid_t from_pid;
519 pid_t from_tid;
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-pkey.c185 static int parent(struct shared_info *info, pid_t pid)
299 pid_t pid;
/linux-master/fs/autofs/
H A Dautofs_i.h95 pid_t pid;
96 pid_t tgid;
/linux-master/kernel/
H A Dkcmp.c137 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type,
/linux-master/tools/mm/
H A Dpage_owner_sort.c39 pid_t pid;
40 pid_t tgid;
80 pid_t *pids;
81 pid_t *tgids;
313 static pid_t get_pid(char *buf)
315 pid_t pid;
332 static pid_t get_tgid(char *buf)
334 pid_t tgid;
/linux-master/tools/perf/bench/
H A Dsched-pipe.c103 pid_t pid;
213 pid_t pid, retpid __maybe_unused;
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c33 static pid_t child_pid;
389 pid_t pid;
/linux-master/tools/perf/tests/
H A Dperf-time-to-tsc.c157 (pid_t)event->comm.pid != getpid() ||
158 (pid_t)event->comm.tid != getpid())
/linux-master/fs/btrfs/
H A Dlocking.c107 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner)
112 static void btrfs_set_eb_lock_owner(struct extent_buffer *eb, pid_t owner) { }
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c29 pid_t pid, ret;
55 pid_t pid, ret;
/linux-master/tools/testing/selftests/landlock/
H A Dptrace_test.c46 static int test_ptrace_read(const pid_t pid)
257 pid_t child, parent;
/linux-master/tools/lib/subcmd/
H A Drun-command.c168 static int wait_or_whine(pid_t pid)
174 pid_t waiting = waitpid(pid, &status, 0);

Completed in 273 milliseconds

<<11121314151617181920>>