/linux-master/tools/testing/selftests/resctrl/ |
H A D | cache.c | 46 int perf_open(struct perf_event_attr *pea, pid_t pid, int cpu_no)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 82 pid_t pid;
|
H A D | migration.c | 26 pid_t *pids; 145 pid_t pid;
|
/linux-master/tools/perf/util/ |
H A D | util.h | 88 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
|
/linux-master/drivers/misc/lkdtm/ |
H A D | bugs.c | 166 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/drivers/scsi/cxlflash/ |
H A D | superpipe.h | 97 pid_t pid;
|
/linux-master/tools/testing/selftests/perf_events/ |
H A D | watermark_signal.c | 48 pid_t child = -1;
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_msg.c | 809 int vmw_mksstat_get_kern_slot(pid_t pid, struct vmw_private *dev_priv) 818 if (pid == (pid_t)atomic_read(&dev_priv->mksstat_kern_pids[slot])) 891 const pid_t pid0 = (pid_t)atomic_read(&dev_priv->mksstat_user_pids[i]); 897 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); 921 const pid_t pid0 = (pid_t)atomic_read(&dev_priv->mksstat_kern_pids[i]); 927 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); 1153 pid_t pgid, pid;
|
/linux-master/kernel/cgroup/ |
H A D | cgroup-v1.c | 181 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/testing/selftests/filesystems/ |
H A D | devpts_pts.c | 62 static int wait_for_pid(pid_t pid) 138 pid_t pid = fork();
|
/linux-master/tools/testing/selftests/x86/ |
H A D | mov_ss_trap.c | 53 pid_t parent = getpid(); 56 pid_t child = fork();
|
/linux-master/security/tomoyo/ |
H A D | realpath.c | 164 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10);
|
/linux-master/kernel/trace/ |
H A D | trace_functions_graph.c | 23 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/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-pkey.c | 185 static int parent(struct shared_info *info, pid_t pid) 299 pid_t pid;
|
/linux-master/fs/autofs/ |
H A D | autofs_i.h | 95 pid_t pid; 96 pid_t tgid;
|
/linux-master/kernel/ |
H A D | kcmp.c | 137 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type,
|
/linux-master/tools/mm/ |
H A D | page_owner_sort.c | 39 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 D | sched-pipe.c | 103 pid_t pid; 213 pid_t pid, retpid __maybe_unused;
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test.c | 33 static pid_t child_pid; 389 pid_t pid;
|
/linux-master/tools/perf/tests/ |
H A D | perf-time-to-tsc.c | 157 (pid_t)event->comm.pid != getpid() || 158 (pid_t)event->comm.tid != getpid())
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_benchmark.c | 29 pid_t pid, ret; 55 pid_t pid, ret;
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | ptrace_test.c | 46 static int test_ptrace_read(const pid_t pid) 257 pid_t child, parent;
|
/linux-master/fs/btrfs/ |
H A D | locking.c | 107 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/memfd/ |
H A D | memfd_test.c | 391 pid_t pid; 760 static pid_t spawn_thread(unsigned int flags, int (*fn)(void *), void *arg) 763 pid_t pid; 780 static void join_thread(pid_t pid) 802 static pid_t spawn_idle_thread(unsigned int flags) 807 static void join_idle_thread(pid_t pid) 1536 pid_t pid; 1562 pid_t pid;
|
/linux-master/mm/ |
H A D | page_owner.c | 33 pid_t pid; 34 pid_t tgid; 35 pid_t free_pid; 36 pid_t free_tgid; 237 pid_t pid, pid_t tgid, char *comm) 262 pid_t pid, pid_t tgid,
|