/kernel/linux/linux-5.10/include/dfx/ |
D | hungtask_base.h | 65 pid_t pid; 66 pid_t tgid; 78 pid_t pid; 83 pid_t pid; 89 pid_t pid; 90 pid_t tgid; 107 bool hashlist_find(struct hlist_head *head, int count, pid_t tgid); 109 bool hashlist_insert(struct hlist_head *head, int count, pid_t tgid);
|
/kernel/linux/linux-5.10/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 …]
|
D | ptrace-hwbreak.c | 51 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() 199 static void check_success(pid_t child_pid, const char *name, const char *type, in check_success() 233 static void ptrace_set_debugreg(pid_t child_pid, unsigned long wp_addr) in ptrace_set_debugreg() 241 static int ptrace_sethwdebug(pid_t child_pid, struct ppc_hw_breakpoint *info) in ptrace_sethwdebug() 252 static void ptrace_delhwdebug(pid_t child_pid, int wh) in ptrace_delhwdebug() 264 static int test_set_debugreg(pid_t child_pid) in test_set_debugreg() 305 static int test_set_debugreg_kernel_userspace(pid_t child_pid) in test_set_debugreg_kernel_userspace() 338 static void test_sethwdebug_exact(pid_t child_pid) in test_sethwdebug_exact() 368 static void test_sethwdebug_exact_kernel_userspace(pid_t child_pid) in test_sethwdebug_exact_kernel_userspace() 384 static void test_sethwdebug_range_aligned(pid_t child_pid) in test_sethwdebug_range_aligned() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | machine.h | 43 pid_t pid; 57 pid_t *current_tid; 65 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() 107 struct thread *machine__find_thread(struct machine *machine, pid_t pid, 108 pid_t tid); 160 struct machine *machines__add(struct machines *machines, pid_t pid, 163 struct machine *machines__find(struct machines *machines, pid_t pid); 164 struct machine *machines__findnew(struct machines *machines, pid_t pid); 171 int machine__init(struct machine *machine, const char *root_dir, pid_t pid); 209 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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | elfcore.h | 42 pid_t pr_pid; 43 pid_t pr_ppid; 44 pid_t pr_pgrp; 45 pid_t pr_sid; 71 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sched.h | 28 __field( pid_t, pid ) 70 __field( pid_t, pid ) 153 __field( pid_t, prev_pid ) 157 __field( pid_t, next_pid ) 202 __field( pid_t, pid ) 229 __field( pid_t, pid ) 275 __field( pid_t, pid ) 300 __field( pid_t, parent_pid ) 302 __field( pid_t, child_pid ) 322 TP_PROTO(struct task_struct *p, pid_t old_pid, [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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;
|
/kernel/linux/common_modules/container_escape_detection/core/ |
D | ced_detection.c | 63 static struct point_info *point_search(pid_t tgid) in point_search() 68 pid_t result = point->tgid; in point_search() 80 static bool point_insert(pid_t tgid, struct process_info *info) in point_insert() 85 pid_t result; in point_insert() 113 void point_erase(pid_t pid) in point_erase() 162 pid_t tgid = task->tgid; in setattr_insert_hook() 188 static int check_tree_and_attribute(pid_t tgid, struct process_info *current_info, struct point_inf… in check_tree_and_attribute() 201 static int check_cred_atrribute(pid_t tgid, const struct cred *new) in check_cred_atrribute() 213 static int check_nsproxy_atrribute(pid_t tgid, const struct nsproxy *new) in check_nsproxy_atrribute() 237 pid_t parent_tgid = task->real_parent->tgid; in kernel_clone_hook()
|
/kernel/linux/linux-5.10/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; in test_vmx_syscall()
|
/kernel/linux/linux-5.10/include/linux/ |
D | elfcore.h | 38 pid_t pr_pid; 39 pid_t pr_ppid; 40 pid_t pr_pgrp; 41 pid_t pr_sid; 61 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
D | agpgart.h | 64 pid_t pid; /* pid of process */ 92 pid_t pid; 100 pid_t pid; 115 pid_t my_pid;
|
/kernel/liteos_a/testsuites/unittest/container/full/ |
D | It_pid_container_018.cpp | 63 pid_t pid = fork(); in Child1() 83 pid_t pid1 = fork(); in ChildFun() 89 pid_t pid2 = fork(); in ChildFun() 94 pid_t pid3 = fork(); in ChildFun() 127 pid_t pid; in ItPidContainer018()
|
D | It_pid_container_020.cpp | 37 pid_t pid1 = fork(); in Child() 39 pid_t pid3 = fork(); in Child() 52 pid_t pid2 = fork(); in Child() 72 pid_t pid1 = fork(); in ChildFun()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/include/nolibc/ |
D | nolibc.h | 139 typedef signed int pid_t; typedef 1529 pid_t sys_fork(void) in sys_fork() 1547 pid_t sys_getpgrp(void) in sys_getpgrp() 1553 pid_t sys_getpid(void) in sys_getpid() 1571 int sys_kill(pid_t pid, int signal) in sys_kill() 1686 int sys_setpgid(pid_t pid, pid_t pgid) in sys_setpgid() 1692 pid_t sys_setsid(void) in sys_setsid() 1759 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4() 1765 pid_t sys_waitpid(pid_t pid, int *status, int options) in sys_waitpid() 1771 pid_t sys_wait(int *status) in sys_wait() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 29 static pid_t sys_clone3(struct clone_args *args) in sys_clone3() 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 43 pid_t parent_tid = -1; in TEST() 50 pid_t pid; in TEST() 91 pid_t parent_tid = -1; in TEST() 99 pid_t pid; in TEST() 144 pid_t parent_tid = -1; in TEST() 151 pid_t pid; in TEST()
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
D | clone3_cap_checkpoint_restore.c | 42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid() 45 pid_t pid = -1; in call_clone3_set_tid() 84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid() 140 pid_t pid; in TEST() 143 pid_t set_tid[1]; in TEST()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | task.h | 30 pid_t *set_tid; 89 extern pid_t kernel_clone(struct kernel_clone_args *kargs); 93 extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); 94 extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); 95 int kernel_wait(pid_t pid, int *stat);
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
D | lib.h | 24 extern int kill_child_and_wait(pid_t child_pid); 25 extern int wait_for_child(pid_t child_pid); 30 extern pid_t eat_cpu(int (test_function)(void));
|