Home
last modified time | relevance | path

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

12345678910>>...32

/linux/include/linux/
H A Dpid.h57 struct pid { struct
67 /* lists of tasks that use this pid */ argument
71 wait_queue_head_t wait_pidfd; argument
73 struct upid numbers[]; argument
77 extern struct pid init_struct_pid; argument
87 static inline struct pid *get_pid(struct pid *pid) in get_pid()
96 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task()
149 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid()
163 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper()
179 static inline pid_t pid_nr(struct pid *pid) in pid_nr()
[all …]
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c39 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 Dradix_tlb.c29 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 Dpidfs.c101 void pidfs_add_pid(struct pid *pid) in pidfs_add_pid()
143 void pidfs_remove_pid(struct pid *pid) in pidfs_remove_pid()
150 void pidfs_free_pid(struct pid *pid) in pidfs_free_pid()
215 struct pid *pid = pidfd_pid(f); in pidfd_show_fdinfo() local
249 struct pid *pid = pidfd_pid(file); in pidfd_poll() local
270 static inline bool pid_in_current_pidns(const struct pid *pid) in pid_in_current_pidns()
300 struct pid *pid = pidfd_pid(file); in pidfd_info() local
604 struct pid *pid = task_pid(tsk); in pidfs_exit() local
651 struct pid *pid = cprm->pid; in pidfs_coredump() local
695 struct pid *pid = inode->i_private; in pidfs_listxattr() local
[all …]
/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()
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 Dpid.c94 void put_pid(struct pid *pid) in put_pid()
112 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local
116 void free_pid(struct pid *pid) in free_pid()
165 struct pid *pid; in alloc_pid() local
341 struct pid *pid; in attach_pid() local
352 struct pid **pid_ptr, *pid; in __change_pid() local
377 struct pid *pid) in change_pid()
413 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
457 struct pid *pid; in get_task_pid() local
465 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
/linux/tools/testing/selftests/pid_namespace/
H A Dpid_max.c40 pid_t pid; pid_max_cb() local
137 pid_t pid; pid_max_nested_inner() local
161 pid_t pid; pid_max_nested_outer() local
229 pid_t pid; pid_max_nested_limit_inner() local
287 pid_t pid; pid_max_nested_limit_outer() local
332 pid_t pid; TEST() local
342 pid_t pid; TEST() local
351 pid_t pid; TEST() local
[all...]
/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()
/linux/tools/include/nolibc/sys/
H A Dwait.h25 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4()
35 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4()
41 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid()
47 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid()
54 pid_t waitpid(pid_t pid, int *status, int options) in waitpid()
/linux/kernel/sched/
H A Dsyscalls.c264 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
269 static struct task_struct *find_get_task(pid_t pid) in find_get_task()
282 find_get_task(pid), pid_t pid) in DEFINE_CLASS()
870 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
951 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument
966 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
977 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument
1012 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument
1042 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
1077 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument
[all …]
/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()
/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
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
270 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, bool all_threads) in thread_map__new_str()
292 static int get_comm(char **comm, pid_t pid) in get_comm()
318 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local
371 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_uprobe.c18 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 Dtest_varlen.c45 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 Dproc-empty-vm.c173 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/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.c
/linux/arch/um/os-Linux/
H A Dstart_up.c43 int pid = os_getpid(), ppid = getppid(); in ptrace_child() local
106 int pid, n, status; in start_ptraced_child() local
126 static void stop_ptraced_child(int pid, int exitcode) in stop_ptraced_child()
144 int pid, n, status, count=0; in check_sysemu() local
197 int pid, syscall, n, status; in check_ptrace() local
294 int pid; in init_seccomp() local
464 int pid; in os_early_checks() local
/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
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 Dsched-migration.py33 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 Dkvm_stat490 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): argument
798 def __init__(self, pid, fields_filter, include_past): argument
839 def pid(self): member in DebugfsProvider
843 def pid(self, pid): argument
987 def pid_filter(self, pid): argument
1153 def get_gname_from_pid(pid): argument
[all …]
/linux/kernel/trace/
H A Dpid_list.c89 static inline int pid_split(unsigned int pid, unsigned int *upper1, in pid_split()
125 bool trace_pid_list_is_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_is_set()
164 int trace_pid_list_set(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_set()
217 int trace_pid_list_clear(struct trace_pid_list *pid_list, unsigned int pid) in trace_pid_list_clear()
269 int trace_pid_list_next(struct trace_pid_list *pid_list, unsigned int pid, in trace_pid_list_next()
323 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 Dregisters.c24 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/coredump/
H A Dstackdump_test.c155 pid_t pid; variable
295 pid_t pid, pid_coredump_server; in TEST_F() local
404 pid_t pid, pid_coredump_server; in TEST_F() local
510 pid_t pid; in TEST_F() local
530 pid_t pid, pid_coredump_server; in TEST_F() local
730 pid_t pid, pid_coredump_server; in TEST_F() local
855 pid_t pid, pid_coredump_server; in TEST_F() local
968 pid_t pid, pid_coredump_server; in TEST_F() local
1081 pid_t pid, pid_coredump_server; in TEST_F() local
1179 pid_t pid, pid_coredump_server; in TEST_F() local
[all …]
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c101 pid_t pid; FIXTURE() local
401 preserve_ns(const int pid,const char * ns) preserve_ns() argument
461 pid_t pid; TEST_F() local
479 pid_t pid; TEST_F() local
515 pid_t pid; TEST_F() local
551 pid_t pid; TEST_F() local
588 pid_t pid; TEST_F() local
[all...]

12345678910>>...32