/linux/include/linux/ |
H A D | pid.h | 55 struct pid struct 62 struct rb_node pidfs_node; argument 63 /* lists of tasks that use this pid */ argument 67 wait_queue_head_t wait_pidfd; argument 69 struct upid numbers[]; argument 73 extern struct pid init_struct_pid; argument 83 static inline struct pid *get_pid(struct pid *pid) in get_pid() 92 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 144 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid() 158 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper() [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/arch/powerpc/mm/book3s64/ |
H A D | radix_tlb.c | 29 unsigned int pid, in tlbiel_radix_set_isa300() 100 static __always_inline void __tlbiel_pid(unsigned long pid, int set, in __tlbiel_pid() 116 static __always_inline void __tlbie_pid(unsigned long pid, unsigned long ric) in __tlbie_pid() 158 static __always_inline void __tlbiel_va(unsigned long va, unsigned long pid, in __tlbiel_va() 174 static __always_inline void __tlbie_va(unsigned long va, unsigned long pid, in __tlbie_va() 207 static inline void fixup_tlbie_va(unsigned long va, unsigned long pid, in fixup_tlbie_va() 221 static inline void fixup_tlbie_va_range(unsigned long va, unsigned long pid, in fixup_tlbie_va_range() 235 static inline void fixup_tlbie_pid(unsigned long pid) in fixup_tlbie_pid() 290 static inline void _tlbiel_pid(unsigned long pid, unsigned long ric) in _tlbiel_pid() 326 static inline void _tlbie_pid(unsigned long pid, unsigned long ric) in _tlbie_pid() [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-dove.c | 64 unsigned pid, unsigned long *config) in dove_pmu_mpp_ctrl_get() 82 unsigned pid, unsigned long config) in dove_pmu_mpp_ctrl_set() 103 static int dove_mpp4_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_mpp4_ctrl_get() 134 static int dove_mpp4_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_mpp4_ctrl_set() 169 static int dove_nand_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_nand_ctrl_get() 180 static int dove_nand_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_nand_ctrl_set() 189 static int dove_audio0_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_audio0_ctrl_get() 199 static int dove_audio0_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_audio0_ctrl_set() 212 static int dove_audio1_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_audio1_ctrl_get() 243 static int dove_audio1_ctrl_set(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_audio1_ctrl_set() [all …]
|
/linux/tools/testing/selftests/pid_namespace/ |
H A D | pid_max.c | 40 pid_t pid; in pid_max_cb() local 137 pid_t pid; in pid_max_nested_inner() local 161 pid_t pid; in pid_max_nested_outer() local 229 pid_t pid; in pid_max_nested_limit_inner() local 287 pid_t pid; in pid_max_nested_limit_outer() local 332 pid_t pid; in TEST() local 342 pid_t pid; in TEST() local 351 pid_t pid; in TEST() local
|
/linux/fs/ |
H A D | pidfs.c | 70 void pidfs_add_pid(struct pid *pid) in pidfs_add_pid() 111 void pidfs_remove_pid(struct pid *pid) in pidfs_remove_pid() 156 struct pid *pid = pidfd_pid(f); in pidfd_show_fdinfo() local 190 struct pid *pid = pidfd_pid(file); in pidfd_poll() local 320 struct pid *pid = pidfd_pid(file); in pidfd_ioctl() local 502 struct pid *pid = inode->i_private; in pidfs_evict_inode() local 531 const struct pid *pid = inode->i_private; in pidfs_encode_fh() local 546 const struct pid *pid = rb_entry(node, struct pid, pidfs_node); in pidfs_ino_find() local 558 struct pid *pid; in pidfs_ino_get_pid() local 589 struct pid *pid; in pidfs_fh_to_dentry() 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/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.c | 43 pid_t pid; member 163 static bool kfd_smi_ev_enabled(pid_t pid, struct kfd_smi_client *client, in kfd_smi_ev_enabled() 175 static void add_event_to_kfifo(pid_t pid, struct kfd_node *dev, in add_event_to_kfifo() 200 static void kfd_smi_event_add(pid_t pid, struct kfd_node *dev, in kfd_smi_event_add() 264 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_start() 273 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_end() 281 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_start() 293 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_end() 304 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, in kfd_smi_event_queue_eviction() 312 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid) in kfd_smi_event_queue_restore() [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/kernel/sched/ |
H A D | syscalls.c | 267 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid() 272 static struct task_struct *find_get_task(pid_t pid) in find_get_task() 285 find_get_task(pid), pid_t pid) in DEFINE_CLASS() 874 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 955 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument 970 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 981 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument 1016 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument 1046 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 1081 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument [all …]
|
/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() 96 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() local 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() local 292 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_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() local 397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 32 int is_skas_winch(int pid, int fd, void *data) in is_skas_winch() 85 static int ptrace_dump_regs(int pid) in ptrace_dump_regs() 112 void wait_stub_done(int pid) in wait_stub_done() 147 static void get_skas_faultinfo(int pid, struct faultinfo *fi) in get_skas_faultinfo() 166 static void handle_segv(int pid, struct uml_pt_regs *regs) in handle_segv() 172 static void handle_trap(int pid, struct uml_pt_regs *regs) in handle_trap() 335 int pid, status, n, err; in start_userspace() local 406 int err, status, op, pid = userspace_pid[0]; in userspace() 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
|
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/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/arch/um/os-Linux/ |
H A D | start_up.c | 35 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local 98 int pid, n, status; in start_ptraced_child() local 118 static void stop_ptraced_child(int pid, int exitcode) in stop_ptraced_child() 136 int pid, n, status, count=0; in check_sysemu() local 189 int pid, syscall, n, status; in check_ptrace() local 284 int pid; in os_early_checks() local
|
/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
|
H A D | cgroup_util.c | 294 int pid = strtol(ptr, &ptr, 10); in cg_killall() local 329 int cg_enter(const char *cgroup, int pid) in cg_enter() 351 int pid, retcode; in cg_run() local 375 pid_t pid; in clone_into_cgroup() local 400 int clone_reap(pid_t pid, int options) in clone_reap() 450 pid_t pid; in clone_into_cgroup_run_nowait() local 468 int pid; in cg_run_nowait() local 548 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() 581 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() 596 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr() [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | netdev-times.py | 232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument 256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument 260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument 266 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument 272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument 278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument 284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument [all …]
|
H A D | sched-migration.py | 33 def thread_name(pid): argument 210 def wake_up(self, ts_list, pid, cpu, fork): argument 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 374 common_callchain, comm, pid, runtime, vruntime): argument 379 common_callchain, comm, pid, delay): argument 384 common_callchain, comm, pid, delay): argument 389 common_callchain, comm, pid, delay): argument 399 common_callchain, comm, pid, prio): argument 404 common_callchain, comm, pid, prio): argument [all …]
|
/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/kernel/trace/ |
H A D | pid_list.c | 93 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split() 129 bool trace_pid_list_is_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_is_set() 168 int trace_pid_list_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_set() 221 int trace_pid_list_clear(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_clear() 273 int trace_pid_list_next(struct trace_pid_list *pid_list, unsigned int pid, in trace_pid_list_next() 327 int trace_pid_list_first(struct trace_pid_list *pid_list, unsigned int *pid) in trace_pid_list_first()
|
/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/drivers/hwtracing/coresight/ |
H A D | coresight-priv.h | 101 pid_t pid; global() member 175 CS_AMBA_ID(pid) global() argument 182 CS_AMBA_ID_DATA(pid,dval) global() argument 193 __CS_AMBA_UCI_ID(pid,m,uci_ptr) global() argument 199 CS_AMBA_UCI_ID(pid,uci) global() argument 226 coresight_get_uci_data_from_amba(const struct amba_id * table,u32 pid) coresight_get_uci_data_from_amba() argument [all...] |
/linux/include/linux/i3c/ |
H A D | device.h | 82 #define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33) argument 83 #define I3C_PID_RND_LOWER_32BITS(pid) (!!((pid) & BIT_ULL(32))) argument 84 #define I3C_PID_RND_VAL(pid) ((pid) & GENMASK_ULL(31, 0)) argument 85 #define I3C_PID_PART_ID(pid) (((pid) & GENMASK_ULL(31, 16)) >> 16) argument 86 #define I3C_PID_INSTANCE_ID(pid) (((pid) argument 87 I3C_PID_EXTRA_INFO(pid) global() argument 122 u64 pid; global() member [all...] |