/Linux-v4.19/tools/perf/util/ |
D | thread_map.h | 10 pid_t pid; 24 struct thread_map *thread_map__new_by_pid(pid_t pid); 25 struct thread_map *thread_map__new_by_tid(pid_t tid); 28 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 46 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid() 52 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid() 63 bool thread_map__has(struct thread_map *threads, pid_t pid);
|
D | machine.h | 41 pid_t pid; 54 pid_t *current_tid; 62 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() 102 struct thread *machine__find_thread(struct machine *machine, pid_t pid, 103 pid_t tid); 146 struct machine *machines__add(struct machines *machines, pid_t pid, 149 struct machine *machines__find(struct machines *machines, pid_t pid); 150 struct machine *machines__findnew(struct machines *machines, pid_t pid); 157 int machine__init(struct machine *machine, const char *root_dir, pid_t pid); 195 struct thread *__machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid); [all …]
|
D | namespaces.h | 30 pid_t pid; 31 pid_t tgid; 32 pid_t nstgid; 44 struct nsinfo *nsinfo__new(pid_t pid);
|
D | thread.h | 24 pid_t pid_; /* Not all tools update this */ 25 pid_t tid; 26 pid_t ppid; 51 struct thread *thread__new(pid_t pid, pid_t tid);
|
D | thread_map.c | 55 struct thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 83 struct thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() 117 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() 192 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 210 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() 281 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() 378 static int get_comm(char **comm, pid_t pid) in get_comm() 404 pid_t pid = thread_map__pid(map, i); in comm_init() 439 thread_map__set_pid(threads, i, (pid_t) event->entries[i].pid); in thread_map__copy_event() 457 bool thread_map__has(struct thread_map *threads, pid_t pid) in thread_map__has()
|
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 64 int start_trace(pid_t child) in start_trace() 81 int stop_trace(pid_t child) in stop_trace() 93 int cont_trace(pid_t child) in cont_trace() 105 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs() 125 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs() 144 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers() 189 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers() 233 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state() 280 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers() 325 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr() [all …]
|
/Linux-v4.19/include/trace/events/ |
D | sched.h | 23 __field( pid_t, pid ) 65 __field( pid_t, pid ) 138 __field( pid_t, prev_pid ) 142 __field( pid_t, next_pid ) 182 __field( pid_t, pid ) 209 __field( pid_t, pid ) 256 __field( pid_t, pid ) 281 __field( pid_t, parent_pid ) 283 __field( pid_t, child_pid ) 303 TP_PROTO(struct task_struct *p, pid_t old_pid, [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/arch/mips/kernel/ |
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;
|
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;
|
/Linux-v4.19/tools/testing/selftests/powerpc/math/ |
D | fpu_syscall.c | 22 extern int test_fpu(double *darray, pid_t *pid); 30 pid_t fork_pid; in syscall_fpu() 54 pid_t pid2; in test_syscall_fpu() 55 pid_t pid = fork(); in test_syscall_fpu()
|
D | vmx_syscall.c | 27 extern int test_vmx(vector int *varray, pid_t *pid); 31 pid_t fork_pid; in vmx_syscall() 55 pid_t pid2; in test_vmx_syscall() 56 pid_t pid = fork(); in test_vmx_syscall()
|
/Linux-v4.19/fs/f2fs/ |
D | trace.c | 38 static int __file_type(struct inode *inode, pid_t pid) in __file_type() 59 pid_t pid = task_pid_nr(current); in f2fs_trace_pid() 87 pid_t pid; in f2fs_trace_ios() 129 static unsigned int gang_lookup_pids(pid_t *results, unsigned long first_index, in gang_lookup_pids() 149 pid_t pid[PIDVEC_SIZE]; in f2fs_destroy_trace_ios() 150 pid_t next_pid = 0; in f2fs_destroy_trace_ios()
|
/Linux-v4.19/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 | 746 pid_t pid; 747 pid_t tgid; 1228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 1230 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr() 1235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 1240 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr() 1246 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr() 1266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 1271 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr() 1277 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 | 158 static inline pid_t pid_nr(struct pid *pid) in pid_nr() 160 pid_t nr = 0; in pid_nr() 166 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns); 167 pid_t pid_vnr(struct pid *pid);
|
D | syscalls.h | 533 asmlinkage long sys_waitid(int which, pid_t pid, 601 asmlinkage long sys_sched_setparam(pid_t pid, 603 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy, 605 asmlinkage long sys_sched_getscheduler(pid_t pid); 606 asmlinkage long sys_sched_getparam(pid_t pid, 608 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len, 610 asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, 615 asmlinkage long sys_sched_rr_get_interval(pid_t pid, 620 asmlinkage long sys_kill(pid_t pid, int sig); 621 asmlinkage long sys_tkill(pid_t pid, int sig); [all …]
|
/Linux-v4.19/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));
|
D | lib.c | 73 int wait_for_child(pid_t child_pid) in wait_for_child() 90 int kill_child_and_wait(pid_t child_pid) in kill_child_and_wait() 116 pid_t eat_cpu(int (test_function)(void)) in eat_cpu() 120 pid_t pid; in eat_cpu()
|
/Linux-v4.19/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-v4.19/kernel/ |
D | pid.c | 341 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 348 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid() 353 struct task_struct *find_get_task_by_vpid(pid_t nr) in find_get_task_by_vpid() 388 struct pid *find_get_pid(pid_t nr) in find_get_pid() 400 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 403 pid_t nr = 0; in pid_nr_ns() 414 pid_t pid_vnr(struct pid *pid) in pid_vnr() 420 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() 423 pid_t nr = 0; in __task_pid_nr_ns()
|
/Linux-v4.19/tools/testing/selftests/powerpc/signal/ |
D | signal.c | 27 extern long signal_self(pid_t pid, int sig); 44 pid_t ppid = getpid(); in test_signal() 45 pid_t pid; in test_signal()
|
/Linux-v4.19/arch/alpha/include/uapi/asm/ |
D | sockios.h | 11 #define SIOCSPGRP _IOW('s', 8, pid_t) 12 #define SIOCGPGRP _IOR('s', 9, pid_t)
|
/Linux-v4.19/arch/xtensa/include/uapi/asm/ |
D | sockios.h | 26 #define SIOCSPGRP _IOW('s', 8, pid_t) 27 #define SIOCGPGRP _IOR('s', 9, pid_t)
|