| /linux/include/linux/ |
| H A D | pid.h | 61 struct pid { struct 71 /* lists of tasks that use this pid */ argument 75 wait_queue_head_t wait_pidfd; argument 77 struct upid numbers[]; argument 80 extern struct pid init_struct_pid; argument 90 static inline struct pid *get_pid(struct pid *pid) in get_pid() 149 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 202 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 216 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper() 232 static inline pid_t pid_nr(struct pid *pid) in pid_nr() [all …]
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-perf-hwbreak.c | 39 static inline long sys_ptrace(long request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() 49 static long ptrace_getregs(pid_t pid, struct pt_regs *result) in ptrace_getregs() 54 static long ptrace_setregs(pid_t pid, struct pt_regs *result) in ptrace_setregs() 59 static long ptrace_cont(pid_t pid, long signal) in ptrace_cont() 64 static long ptrace_singlestep(pid_t pid, long signal) in ptrace_singlestep() 69 static long ppc_ptrace_gethwdbginfo(pid_t pid, struct ppc_debug_info *dbginfo) in ppc_ptrace_gethwdbginfo() 74 static long ppc_ptrace_sethwdbg(pid_t pid, struct ppc_hw_breakpoint *bp_info) in ppc_ptrace_sethwdbg() 79 static long ppc_ptrace_delhwdbg(pid_t pid, int bp_id) in ppc_ptrace_delhwdbg() 84 static long ptrace_getreg_pc(pid_t pid, void **pc) in ptrace_getreg_pc() 98 static long ptrace_setreg_pc(pid_t pid, void *pc) in ptrace_setreg_pc() [all …]
|
| /linux/fs/ |
| H A D | pidfs.c | 167 void pidfs_prepare_pid(struct pid *pid) in pidfs_prepare_pid() argument 174 pidfs_add_pid(struct pid * pid) pidfs_add_pid() argument 186 pidfs_remove_pid(struct pid * pid) pidfs_remove_pid() argument 209 pidfs_free_pid(struct pid * pid) pidfs_free_pid() argument 274 struct pid *pid = pidfd_pid(f); pidfd_show_fdinfo() local 308 struct pid *pid = pidfd_pid(file); pidfd_poll() local 329 pid_in_current_pidns(const struct pid * pid) pid_in_current_pidns() argument 369 struct pid *pid = pidfd_pid(file); pidfd_info() local 695 struct pid *pid = inode->i_private; pidfs_file_release() local 751 struct pid *pid = task_pid(tsk); pidfs_exit() local 796 pidfs_coredump_pid(struct pid * pid,const struct coredump_params * cprm) pidfs_coredump_pid() argument 849 struct pid *pid = inode->i_private; pidfs_listxattr() local 862 struct pid *pid = inode->i_private; pidfs_evict_inode() local 891 const struct pid *pid = inode->i_private; pidfs_encode_fh() local 906 struct pid *pid; pidfs_ino_get_pid() local 931 struct pid *pid; pidfs_fh_to_dentry() local 1015 const struct pid *pid = data; pidfs_init_inode() local 1031 struct pid *pid = data; pidfs_put_data() local 1045 pidfs_register_pid_gfp(struct pid * pid,gfp_t gfp) pidfs_register_pid_gfp() argument 1100 struct pid *pid = d_inode(dentry)->i_private; pidfs_stash_dentry() local 1121 struct pid *pid = inode->i_private; pidfs_xattr_get() local 1132 struct pid *pid = inode->i_private; pidfs_xattr_set() local 1181 pidfs_alloc_file(struct pid * pid,unsigned int flags) pidfs_alloc_file() argument [all...] |
| /linux/kernel/ |
| H A D | pid.c | 88 void put_pid(struct pid *pid) in put_pid() 106 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local 110 void free_pid(struct pid *pid) in free_pid() 164 struct pid *pid; in alloc_pid() local 394 struct pid *pid; in attach_pid() local 405 struct pid **pid_ptr, *pid; in __change_pid() local 430 struct pid *pid) in change_pid() 466 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 510 struct pid *pid; in get_task_pid() local 518 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-dove.c | 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() argument 82 unsigned pid, unsigned long config) in dove_pmu_mpp_ctrl_set() argument 103 dove_mpp4_ctrl_get(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long * config) dove_mpp4_ctrl_get() argument 134 dove_mpp4_ctrl_set(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long config) dove_mpp4_ctrl_set() argument 169 dove_nand_ctrl_get(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long * config) dove_nand_ctrl_get() argument 180 dove_nand_ctrl_set(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long config) dove_nand_ctrl_set() argument 189 dove_audio0_ctrl_get(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long * config) dove_audio0_ctrl_get() argument 199 dove_audio0_ctrl_set(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long config) dove_audio0_ctrl_set() argument 212 dove_audio1_ctrl_get(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long * config) dove_audio1_ctrl_get() argument 243 dove_audio1_ctrl_set(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long config) dove_audio1_ctrl_set() argument 272 dove_audio1_ctrl_gpio_req(struct mvebu_mpp_ctrl_data * data,unsigned pid) dove_audio1_ctrl_gpio_req() argument 300 dove_audio1_ctrl_gpio_dir(struct mvebu_mpp_ctrl_data * data,unsigned pid,bool input) dove_audio1_ctrl_gpio_dir() argument 307 dove_twsi_ctrl_get(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long * config) dove_twsi_ctrl_get() argument 327 dove_twsi_ctrl_set(struct mvebu_mpp_ctrl_data * data,unsigned pid,unsigned long config) dove_twsi_ctrl_set() argument [all...] |
| /linux/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 138 if (pid > inner_limit) { in pid_max_nested_inner() local 41 pid_t pid; pid_max_cb() local 162 pid_t pid; pid_max_nested_outer() local 230 pid_t pid; pid_max_nested_limit_inner() local 288 pid_t pid; pid_max_nested_limit_outer() local 333 pid_t pid; TEST() local 343 pid_t pid; TEST() local 352 pid_t pid; TEST() local [all...] |
| /linux/drivers/media/common/b2c2/ |
| H A D | flexcop-hw-filter.c | 47 u16 pid, u16 mask) in flexcop_pid_group_filter() 75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl() 82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl() 89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl() 95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl() 101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl() 107 u16 pid, int onoff) in flexcop_pid_ECM_PID_ctrl() 113 int index, u16 pid, int onoff) in flexcop_pid_control()
|
| /linux/tools/perf/util/ |
| H A D | thread_map.c | 34 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() argument 96 pid_t pid = strtol(dirent->d_name, &end, 10); in thread_map__new_all_cpus() local 151 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid) in thread_map__new() argument 166 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 264 thread_map__new_str(const char * pid,const char * tid,bool all_threads) thread_map__new_str() argument 286 get_comm(char ** comm,pid_t pid) get_comm() argument 312 pid_t pid = perf_thread_map__pid(map, i); comm_init() local 365 thread_map__has(struct perf_thread_map * threads,pid_t pid) thread_map__has() argument [all...] |
| /linux/arch/powerpc/mm/ |
| H A D | mmu_decl.h | 31 static inline void _tlbil_pid(unsigned int pid) in _tlbil_pid() 36 #define _tlbil_pid_noind(pid) _tlbil_pid(pid) argument 44 #define _tlbil_pid_noind(pid) _tlbil_pid(pid) argument 52 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() 63 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() 74 static inline void _tlbivax_bcast(unsigned long address, unsigned int pid, in _tlbivax_bcast()
|
| /linux/arch/um/os-Linux/ |
| H A D | start_up.c | 44 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local 107 int pid, n, status; in start_ptraced_child() local 127 static void stop_ptraced_child(int pid, int exitcode) in stop_ptraced_child() 145 int pid, n, status, count=0; in check_sysemu() local 198 int pid, syscall, n, status; in check_ptrace() local 295 int pid; in init_seccomp() local 465 int pid; in os_early_checks() local
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_uprobe.c | 18 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local 30 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local 42 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_URETPROBE() local 54 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local [all...] |
| H A D | test_varlen.c | 45 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_unsigned() local 75 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_signed() local 101 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_unsigned() local 129 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_signed() local
|
| /linux/tools/testing/selftests/core/ |
| H A D | close_range_test.c | 118 pid_t pid; in TEST() local 207 pid_t pid; in TEST() local 250 pid_t pid; in TEST() local 436 pid_t pid; in TEST() local 553 pid_t pid; in TEST() local 651 pid_t pid; in TEST() local 798 pid_t pid; in TEST() local 866 pid_t pid; in TEST() local 947 pid_t pid; in TEST() local 1164 pid_t pid; in TEST() local [all …]
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-empty-vm.c | 173 pid_t pid; in vsyscall() local 216 static int test_proc_pid_maps(pid_t pid) in test_proc_pid_maps() 238 static int test_proc_pid_numa_maps(pid_t pid) in test_proc_pid_numa_maps() 261 static int test_proc_pid_smaps(pid_t pid) in test_proc_pid_smaps() 325 static int test_proc_pid_smaps_rollup(pid_t pid) in test_proc_pid_smaps_rollup() 369 static int test_proc_pid_statm(pid_t pid) in test_proc_pid_statm() 462 pid_t pid = fork(); in main() local
|
| /linux/kernel/sched/ |
| H A D | syscalls.c | 215 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid() argument 220 static struct task_struct *find_get_task(pid_t pid) in find_get_task() argument 233 find_get_task(pid), pid_t pid) in DEFINE_CLASS() argument 853 do_sched_setscheduler(pid_t pid,int policy,struct sched_param __user * param) do_sched_setscheduler() argument 934 SYSCALL_DEFINE3(sched_setscheduler,pid_t,pid,int,policy,struct sched_param __user *,param) SYSCALL_DEFINE3() argument 949 SYSCALL_DEFINE2(sched_setparam,pid_t,pid,struct sched_param __user *,param) SYSCALL_DEFINE2() argument 960 SYSCALL_DEFINE3(sched_setattr,pid_t,pid,struct sched_attr __user *,uattr,unsigned int,flags) SYSCALL_DEFINE3() argument 995 SYSCALL_DEFINE1(sched_getscheduler,pid_t,pid) SYSCALL_DEFINE1() argument 1025 SYSCALL_DEFINE2(sched_getparam,pid_t,pid,struct sched_param __user *,param) SYSCALL_DEFINE2() argument 1060 SYSCALL_DEFINE4(sched_getattr,pid_t,pid,struct sched_attr __user *,uattr,unsigned int,usize,unsigned int,flags) SYSCALL_DEFINE4() argument 1197 sched_setaffinity(pid_t pid,const struct cpumask * in_mask) sched_setaffinity() argument 1262 SYSCALL_DEFINE3(sched_setaffinity,pid_t,pid,unsigned int,len,unsigned long __user *,user_mask_ptr) SYSCALL_DEFINE3() argument 1278 sched_getaffinity(pid_t pid,struct cpumask * mask) sched_getaffinity() argument 1307 SYSCALL_DEFINE3(sched_getaffinity,pid_t,pid,unsigned int,len,unsigned long __user *,user_mask_ptr) SYSCALL_DEFINE3() argument 1516 sched_rr_get_interval(pid_t pid,struct timespec64 * t) sched_rr_get_interval() argument 1555 SYSCALL_DEFINE2(sched_rr_get_interval,pid_t,pid,struct __kernel_timespec __user *,interval) SYSCALL_DEFINE2() argument 1568 SYSCALL_DEFINE2(sched_rr_get_interval_time32,pid_t,pid,struct old_timespec32 __user *,interval) SYSCALL_DEFINE2() argument [all...] |
| /linux/tools/perf/scripts/python/ |
| H A D | netdev-times.py | |
| H A D | sched-migration.py | |
| /linux/tools/kvm/kvm_stat/ |
| H A D | kvm_stat | 490 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument 575 def __init__(self, pid): argument 602 def __init__(self, pid, fields_filter): argument 762 def pid(self): member in TracepointProvider 766 def pid(self, pid): member in TracepointProvider 798 def __init__(self, pid, fields_filter, include_past): argument 839 def pid(self): member in DebugfsProvider 843 def pid(self, pid): member in DebugfsProvider 987 def pid_filter(self, pid): argument 1153 def get_gname_from_pid(pid): argument [all …]
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_freezer.c | 59 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen() 403 int pid; in test_cgfreezer_mkdir() local 512 int pid; in test_cgfreezer_migrate() local 588 int pid; in test_cgfreezer_ptrace() local 643 static int proc_check_stopped(int pid) in proc_check_stopped() 667 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local 711 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced() local 765 int pid = vfork(); in vfork_fn() local 1146 int pid; in test_cgfreezer_time_migrate() local
|
| H A D | cgroup_util.c | |
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_setns_test.c | 56 pid_t pid; in FIXTURE() local 356 static int preserve_ns(const int pid, const char *ns) in preserve_ns() 416 pid_t pid; in TEST_F() local 434 pid_t pid; in TEST_F() local 470 pid_t pid; in TEST_F() local 506 pid_t pid; in TEST_F() local 543 pid_t pid; in TEST_F() local
|
| /linux/kernel/trace/ |
| H A D | pid_list.c | 90 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split() 126 bool trace_pid_list_is_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_is_set() 167 int trace_pid_list_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_set() 222 int trace_pid_list_clear(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_clear() 276 int trace_pid_list_next(struct trace_pid_list *pid_list, unsigned int pid, in trace_pid_list_next() 330 int trace_pid_list_first(struct trace_pid_list *pid_list, unsigned int *pid) in trace_pid_list_first()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | zt-ptrace.c | 56 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za() 93 static int set_za(pid_t pid, const struct user_za_header *za) in set_za() 102 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt() 111 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt() 259 pid_t pid; in do_parent() local
|
| /linux/arch/x86/um/os-Linux/ |
| H A D | registers.c | 24 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers() 36 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers() 48 int arch_init_registers(int pid) in arch_init_registers()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | listns_permissions_test.c | 40 pid_t pid; in TEST() local 147 pid_t pid; in TEST() local 376 pid_t pid; in TEST() local 452 pid_t pid; in TEST() local 571 pid_t pid; in TEST() local 678 pid_t pid; in TEST() local
|