Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/openbmc/linux/include/linux/
H A Dpid.h59 struct pid struct
64 /* lists of tasks that use this pid */ argument
68 wait_queue_head_t wait_pidfd; argument
70 struct upid numbers[]; argument
73 extern struct pid init_struct_pid; argument
85 static inline struct pid *get_pid(struct pid *pid) in get_pid()
166 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper()
182 static inline pid_t pid_nr(struct pid *pid) in pid_nr()
193 #define do_each_pid_task(pid, type, task) \ argument
203 #define while_each_pid_task(pid, type, task) \ argument
[all …]
/openbmc/linux/arch/x86/um/os-Linux/
H A Dregisters.c22 int save_i387_registers(int pid, unsigned long *fp_regs) in save_i387_registers()
29 int save_fp_registers(int pid, unsigned long *fp_regs) in save_fp_registers()
45 int restore_i387_registers(int pid, unsigned long *fp_regs) in restore_i387_registers()
52 int restore_fp_registers(int pid, unsigned long *fp_regs) in restore_fp_registers()
69 int save_fpx_registers(int pid, unsigned long *fp_regs) in save_fpx_registers()
83 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers()
91 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers()
99 void arch_init_registers(int pid) in arch_init_registers()
116 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers()
121 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c49 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()
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()
175 static int check_watchpoints(pid_t pid) in check_watchpoints()
190 static int ptrace_fork_child(pid_t *pid) in ptrace_fork_child()
231 pid_t pid; /* PID of child process */ in same_watch_addr_test() local
[all …]
/openbmc/linux/kernel/
H A Dpid.c108 void put_pid(struct pid *pid) in put_pid()
129 void free_pid(struct pid *pid) in free_pid()
165 struct pid *pid; in alloc_pid() local
344 struct pid *pid; in __change_pid() local
365 struct pid *pid) in change_pid()
443 struct pid *pid; in get_task_pid() local
465 struct pid *pid; in find_get_pid() local
489 pid_t pid_vnr(struct pid *pid) in pid_vnr()
530 struct pid *pid; in pidfd_get_pid() local
566 struct pid *pid; in pidfd_get_task() local
[all …]
/openbmc/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-dove.c64 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()
272 unsigned pid) in dove_audio1_ctrl_gpio_req()
300 unsigned pid, bool input) in dove_audio1_ctrl_gpio_dir()
307 static int dove_twsi_ctrl_get(struct mvebu_mpp_ctrl_data *data, unsigned pid, in dove_twsi_ctrl_get()
[all …]
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dradix_tlb.c29 unsigned int pid, in tlbiel_radix_set_isa300()
352 unsigned long pid; member
488 unsigned long pid; member
518 unsigned long pid; member
836 unsigned long pid; in radix__flush_tlb_mm() local
877 unsigned long pid; in __flush_all_mm() local
917 unsigned long pid; in radix__flush_tlb_page_psize() local
1021 unsigned long pid; in __radix__flush_tlb_range() local
1239 unsigned long pid; in __radix__flush_tlb_range_psize() local
1318 unsigned long pid, end; in radix__flush_tlb_collapsed_pmd() local
[all …]
/openbmc/linux/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c47 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()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c42 pid_t pid; member
162 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()
253 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_start()
262 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_page_fault_end()
270 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_start()
282 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, in kfd_smi_event_migration_end()
292 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, in kfd_smi_event_queue_eviction()
300 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid) in kfd_smi_event_queue_restore()
[all …]
/openbmc/linux/arch/powerpc/mm/
H A Dmmu_decl.h31 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()
/openbmc/linux/arch/um/os-Linux/skas/
H A Dprocess.c27 int is_skas_winch(int pid, int fd, void *data) in is_skas_winch()
80 static int ptrace_dump_regs(int pid) in ptrace_dump_regs()
107 void wait_stub_done(int pid) in wait_stub_done()
142 static void get_skas_faultinfo(int pid, struct faultinfo *fi, unsigned long *aux_fp_regs) in get_skas_faultinfo()
174 static void handle_segv(int pid, struct uml_pt_regs *regs, unsigned long *aux_fp_regs) in handle_segv()
184 static void handle_trap(int pid, struct uml_pt_regs *regs, in handle_trap()
314 int pid, status, n, flags, err; in start_userspace() local
382 int err, status, op, pid = userspace_pid[0]; in userspace() local
528 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0()
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-empty-vm.c138 pid_t pid; in vsyscall() local
181 static int test_proc_pid_maps(pid_t pid) in test_proc_pid_maps()
203 static int test_proc_pid_numa_maps(pid_t pid) in test_proc_pid_numa_maps()
226 static int test_proc_pid_smaps(pid_t pid) in test_proc_pid_smaps()
282 static int test_proc_pid_smaps_rollup(pid_t pid) in test_proc_pid_smaps_rollup()
331 pid_t pid = fork(); in main() local
/openbmc/linux/tools/perf/util/
H A Dthread_map.c34 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
171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
189 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local
293 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_str()
319 static int get_comm(char **comm, pid_t pid) in get_comm()
345 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local
398 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_freezer.c59 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 Dcgroup_util.c272 int pid = strtol(ptr, &ptr, 10); in cg_killall() local
307 int cg_enter(const char *cgroup, int pid) in cg_enter()
329 int pid, retcode; in cg_run() local
353 pid_t pid; in clone_into_cgroup() local
378 int clone_reap(pid_t pid, int options) in clone_reap()
428 pid_t pid; in clone_into_cgroup_run_nowait() local
446 int pid; in cg_run_nowait() local
526 int set_oom_adj_score(int pid, int score) in set_oom_adj_score()
559 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text()
574 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr()
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A Dnetdev-times.py232 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
260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, 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
290 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
296 def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr): argument
[all …]
/openbmc/linux/arch/um/os-Linux/
H A Dstart_up.c32 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local
95 int pid, n, status; in start_ptraced_child() local
121 static int stop_ptraced_child(int pid, int exitcode, int mustexit) in stop_ptraced_child()
167 int pid, n, status, count=0; in check_sysemu() local
261 int pid, syscall, n, status; in check_ptrace() local
358 int pid; in os_early_checks() local
H A Dprocess.c27 unsigned long os_process_pc(int pid) in os_process_pc()
59 int os_process_parent(int pid) in os_process_parent()
93 void os_alarm_process(int pid) in os_alarm_process()
98 void os_stop_process(int pid) in os_stop_process()
103 void os_kill_process(int pid, int reap_child) in os_kill_process()
115 void os_kill_ptraced_process(int pid, int reap_child) in os_kill_ptraced_process()
H A Dregisters.c14 int save_registers(int pid, struct uml_pt_regs *regs) in save_registers()
24 int restore_pid_registers(int pid, struct uml_pt_regs *regs) in restore_pid_registers()
39 int init_pid_registers(int pid) in init_pid_registers()
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid()
50 pid_t pid; in TEST() local
99 pid_t pid; in TEST() local
160 pid_t pid; in TEST() local
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat575 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): 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
1184 def _update_pid(self, pid): argument
1190 def _refresh_header(self, pid=None): argument
[all …]
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dzt-ptrace.c54 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za()
91 static int set_za(pid_t pid, const struct user_za_header *za) in set_za()
100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt()
110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt()
258 pid_t pid; in do_parent() local
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dtlb.c137 unsigned int pid; in local_flush_tlb_mm() local
150 unsigned int pid; in __local_flush_tlb_page() local
184 unsigned int pid; member
222 unsigned int pid; in flush_tlb_mm() local
244 unsigned int pid; in __flush_tlb_page() local
/openbmc/linux/kernel/trace/
H A Dpid_list.c93 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()
/openbmc/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c32 pid_t pid = getpid(); in setrlimit_nproc() local
46 pid_t pid = fork(); in fork_child() local
91 pid_t pid; in main() local
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_kernel.c35 pid_t pid; in fork_child() local
46 static int expect_segv(pid_t pid) in expect_segv()
62 pid_t pid; in test_sigreturn_kernel() local

12345678910>>...42