/Linux-v5.4/tools/perf/util/ |
D | machine.h | 42 pid_t pid; 56 pid_t *current_tid; 64 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() 106 struct thread *machine__find_thread(struct machine *machine, pid_t pid, 107 pid_t tid); 153 struct machine *machines__add(struct machines *machines, pid_t pid, 156 struct machine *machines__find(struct machines *machines, pid_t pid); 157 struct machine *machines__findnew(struct machines *machines, pid_t pid); 164 int machine__init(struct machine *machine, const char *root_dir, pid_t pid); 202 struct thread *__machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid); [all …]
|
D | thread_map.h | 14 struct perf_thread_map *thread_map__new_by_pid(pid_t pid); 15 struct perf_thread_map *thread_map__new_by_tid(pid_t tid); 18 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 29 bool thread_map__has(struct perf_thread_map *threads, pid_t pid);
|
D | namespaces.h | 32 pid_t pid; 33 pid_t tgid; 34 pid_t nstgid; 47 struct nsinfo *nsinfo__new(pid_t pid);
|
D | thread_map.c | 33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 61 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() 95 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() 247 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() 318 static int get_comm(char **comm, pid_t pid) in get_comm() 344 pid_t pid = perf_thread_map__pid(map, i); in comm_init() 379 perf_thread_map__set_pid(threads, i, (pid_t) event->entries[i].pid); in thread_map__copy_event() 397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
D | thread.h | 29 pid_t pid_; /* Not all tools update this */ 30 pid_t tid; 31 pid_t ppid; 55 struct thread *thread__new(pid_t pid, pid_t tid);
|
D | synthetic-events.h | 45 …hesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_ev… 47 …thesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_ev… 58 pid_t perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_…
|
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 60 int start_trace(pid_t child) in start_trace() 77 int stop_trace(pid_t child) in stop_trace() 89 int cont_trace(pid_t child) in cont_trace() 101 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs() 121 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs() 140 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers() 185 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers() 229 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state() 276 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers() 321 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr() [all …]
|
/Linux-v5.4/include/trace/events/ |
D | sched.h | 23 __field( pid_t, pid ) 65 __field( pid_t, pid ) 148 __field( pid_t, prev_pid ) 152 __field( pid_t, next_pid ) 197 __field( pid_t, pid ) 224 __field( pid_t, pid ) 270 __field( pid_t, pid ) 295 __field( pid_t, parent_pid ) 297 __field( pid_t, child_pid ) 317 TP_PROTO(struct task_struct *p, pid_t old_pid, [all …]
|
/Linux-v5.4/include/uapi/linux/ |
D | elfcore.h | 52 pid_t pr_pid; 53 pid_t pr_ppid; 54 pid_t pr_pgrp; 55 pid_t pr_sid; 88 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
/Linux-v5.4/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() 20 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() 26 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace() 44 static int check_error_paths(pid_t child) in check_error_paths() 105 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path() 157 pid_t child; in main() 168 pid_t ppid = getppid(); in main()
|
/Linux-v5.4/arch/mips/kernel/ |
D | binfmt_elfn32.c | 53 pid_t pr_pid; 54 pid_t pr_ppid; 55 pid_t pr_pgrp; 56 pid_t pr_sid; 75 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
D | binfmt_elfo32.c | 58 pid_t pr_pid; 59 pid_t pr_ppid; 60 pid_t pr_pgrp; 61 pid_t pr_sid; 80 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
/Linux-v5.4/tools/testing/selftests/powerpc/math/ |
D | fpu_syscall.c | 18 extern int test_fpu(double *darray, pid_t *pid); 26 pid_t fork_pid; in syscall_fpu() 50 pid_t pid2; in test_syscall_fpu() 51 pid_t pid = fork(); in test_syscall_fpu()
|
D | vmx_syscall.c | 23 extern int test_vmx(vector int *varray, pid_t *pid); 27 pid_t fork_pid; in vmx_syscall() 51 pid_t pid2; in test_vmx_syscall() 52 pid_t pid = fork(); in test_vmx_syscall()
|
/Linux-v5.4/fs/f2fs/ |
D | trace.c | 35 static int __file_type(struct inode *inode, pid_t pid) in __file_type() 56 pid_t pid = task_pid_nr(current); in f2fs_trace_pid() 90 pid_t pid; in f2fs_trace_ios() 132 static unsigned int gang_lookup_pids(pid_t *results, unsigned long first_index, in gang_lookup_pids() 152 pid_t pid[PIDVEC_SIZE]; in f2fs_destroy_trace_ios() 153 pid_t next_pid = 0; in f2fs_destroy_trace_ios()
|
/Linux-v5.4/tools/include/nolibc/ |
D | nolibc.h | 139 typedef signed int pid_t; typedef 1518 pid_t sys_fork(void) in sys_fork() 1536 pid_t sys_getpgrp(void) in sys_getpgrp() 1542 pid_t sys_getpid(void) in sys_getpid() 1560 int sys_kill(pid_t pid, int signal) in sys_kill() 1675 int sys_setpgid(pid_t pid, pid_t pgid) in sys_setpgid() 1681 pid_t sys_setsid(void) in sys_setsid() 1748 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4() 1754 pid_t sys_waitpid(pid_t pid, int *status, int options) in sys_waitpid() 1760 pid_t sys_wait(int *status) in sys_wait() [all …]
|
/Linux-v5.4/include/linux/ |
D | agpgart.h | 66 pid_t pid; /* pid of process */ 94 pid_t pid; 102 pid_t pid; 117 pid_t my_pid;
|
D | sched.h | 788 pid_t pid; 789 pid_t tgid; 1302 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 1304 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr() 1309 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 1314 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr() 1320 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr() 1340 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 1345 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr() 1351 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() [all …]
|
D | pid.h | 167 static inline pid_t pid_nr(struct pid *pid) in pid_nr() 169 pid_t nr = 0; in pid_nr() 175 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns); 176 pid_t pid_vnr(struct pid *pid);
|
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ |
D | lib.h | 23 extern int kill_child_and_wait(pid_t child_pid); 24 extern int wait_for_child(pid_t child_pid); 29 extern pid_t eat_cpu(int (test_function)(void));
|
/Linux-v5.4/kernel/ |
D | pid.c | 346 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 353 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid() 358 struct task_struct *find_get_task_by_vpid(pid_t nr) in find_get_task_by_vpid() 393 struct pid *find_get_pid(pid_t nr) in find_get_pid() 405 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 408 pid_t nr = 0; in pid_nr_ns() 419 pid_t pid_vnr(struct pid *pid) in pid_vnr() 425 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() 428 pid_t nr = 0; in __task_pid_nr_ns() 498 SYSCALL_DEFINE2(pidfd_open, pid_t, pid, unsigned int, flags) in SYSCALL_DEFINE2() argument
|
/Linux-v5.4/drivers/char/agp/ |
D | compat_ioctl.h | 97 struct agp_file_private *agp_find_private(pid_t pid); 98 struct agp_client *agp_create_client(pid_t id); 99 int agp_remove_client(pid_t id); 104 struct agp_client *agp_find_client_by_pid(pid_t id);
|
/Linux-v5.4/tools/testing/selftests/powerpc/signal/ |
D | signal.c | 23 extern long signal_self(pid_t pid, int sig); 40 pid_t ppid = getpid(); in test_signal() 41 pid_t pid; in test_signal()
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_gpu_trace.h | 12 TP_PROTO(pid_t pid, u32 ringid, u32 id, u32 nr_bos, u32 nr_cmds), 15 __field(pid_t, pid) 37 __field(pid_t, pid) 61 __field(pid_t, pid)
|
/Linux-v5.4/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 24 static pid_t sys_clone3(struct clone_args *args) in sys_clone3() 29 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 39 pid_t parent_tid = -1; in test_pidfd_wait_simple() 47 pid_t pid; in test_pidfd_wait_simple() 124 pid_t parent_tid = -1; in test_pidfd_wait_states() 132 pid_t pid; in test_pidfd_wait_states()
|