| /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/fs/ |
| H A D | pidfs.c | 155 void pidfs_prepare_pid(struct pid *pid) in pidfs_prepare_pid() 162 int pidfs_add_pid(struct pid *pid) in pidfs_add_pid() 174 void pidfs_remove_pid(struct pid *pid) in pidfs_remove_pid() 181 void pidfs_free_pid(struct pid *pid) in pidfs_free_pid() 246 struct pid *pid = pidfd_pid(f); in pidfd_show_fdinfo() local 280 struct pid *pid = pidfd_pid(file); in pidfd_poll() local 301 static inline bool pid_in_current_pidns(const struct pid *pid) in pid_in_current_pidns() 340 struct pid *pid = pidfd_pid(file); in pidfd_info() local 673 struct pid *pid = task_pid(tsk); in pidfs_exit() local 720 struct pid *pid = cprm->pid; in pidfs_coredump() local [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/kernel/ |
| H A D | pid.c | 90 put_pid(struct pid * pid) put_pid() argument 108 struct pid *pid = container_of(rhp, struct pid, rcu); delayed_put_pid() local 112 free_pid(struct pid * pid) free_pid() argument 165 struct pid *pid; alloc_pid() local 342 struct pid *pid; attach_pid() local 353 struct pid **pid_ptr, *pid; __change_pid() local 378 change_pid(struct pid ** pids,struct task_struct * task,enum pid_type type,struct pid * pid) change_pid() argument 414 pid_task(struct pid * pid,enum pid_type type) pid_task() argument 458 struct pid *pid; get_task_pid() local 466 get_pid_task(struct pid * pid,enum pid_type type) get_pid_task() argument 480 struct pid *pid; find_get_pid() local 490 pid_nr_ns(struct pid * pid,struct pid_namespace * ns) pid_nr_ns() argument 504 pid_vnr(struct pid * pid) pid_vnr() argument 546 struct pid *pid; pidfd_get_pid() local 574 struct pid *pid; pidfd_get_task() local 620 pidfd_create(struct pid * pid,unsigned int flags) pidfd_create() argument 646 SYSCALL_DEFINE2(pidfd_open,pid_t,pid,unsigned int,flags) SYSCALL_DEFINE2() argument 868 pidfd_getfd(struct pid * pid,int fd) pidfd_getfd() argument 908 struct pid *pid; SYSCALL_DEFINE3() local [all...] |
| /linux/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 41 pid_t pid; in pid_max_cb() local 138 pid_t pid; in pid_max_nested_inner() local 162 pid_t pid; in pid_max_nested_outer() local 230 pid_t pid; in pid_max_nested_limit_inner() local 288 pid_t pid; in pid_max_nested_limit_outer() local 333 pid_t pid; in TEST() local 343 pid_t pid; in TEST() local 352 pid_t pid; in TEST() local
|
| /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() 174 static void add_event_to_kfifo(pid_t pid, struct kfd_node *dev, in add_event_to_kfifo() 199 static void kfd_smi_event_add(pid_t pid, struct kfd_node *dev, in kfd_smi_event_add() 263 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_start() 272 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_end() 280 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_start() 292 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_end() 303 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, in kfd_smi_event_queue_eviction() 311 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid) in kfd_smi_event_queue_restore() [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 151 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid) in thread_map__new() 166 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 264 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, bool all_threads) in thread_map__new_str() 286 static int get_comm(char **comm, pid_t pid) in get_comm() 312 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local 365 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
| /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...] |
| /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() 220 static struct task_struct *find_get_task(pid_t pid) in find_get_task() 233 find_get_task(pid), pid_t pid) in DEFINE_CLASS() 853 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 934 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument 949 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 960 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument 995 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument 1025 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 1060 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument [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/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/coredump/ |
| H A D | coredump_socket_protocol_test.c | 83 pid_t pid, pid_coredump_server; in TEST_F() local 240 pid_t pid, pid_coredump_server; in TEST_F() local 380 pid_t pid, pid_coredump_server; in TEST_F() local 520 pid_t pid, pid_coredump_server; in TEST_F() local 641 pid_t pid, pid_coredump_server; in TEST_F() local 761 pid_t pid, pid_coredump_server; in TEST_F() local 883 pid_t pid, pid_coredump_server; in TEST_F() local 1011 pid_t pid, pid_coredump_server; in TEST_F() local 1144 pid_t pid, pid_coredump_server; in TEST_F() local 1271 pid_t pid[NUM_CRASHING_COREDUMPS], pid_coredump_server; variable [all …]
|
| /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/tools/testing/selftests/cgroup/lib/ |
| H A D | cgroup_util.c | 397 if (pid < 0) { in clone_into_cgroup() local 316 int pid = strtol(ptr, &ptr, 10); cg_killall() local 351 cg_enter(const char * cgroup,int pid) cg_enter() argument 373 int pid, retcode; cg_run() local 422 clone_reap(pid_t pid,int options) clone_reap() argument 472 pid_t pid; clone_into_cgroup_run_nowait() local 490 int pid; cg_run_nowait() local 537 proc_read_text(int pid,bool thread,const char * item,char * buf,size_t size) proc_read_text() argument 552 proc_read_strstr(int pid,bool thread,const char * item,const char * needle) proc_read_strstr() argument 565 pid_t pid; clone_into_cgroup_run_wait() local [all...] |
| /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()
|