Home
last modified time | relevance | path

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

12345678910>>...28

/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.c94 void pidfs_add_pid(struct pid *pid) in pidfs_add_pid()
135 void pidfs_remove_pid(struct pid *pid) in pidfs_remove_pid()
180 struct pid *pid = pidfd_pid(f); in pidfd_show_fdinfo() local
214 struct pid *pid = pidfd_pid(file); in pidfd_poll() local
235 static inline bool pid_in_current_pidns(const struct pid *pid) in pid_in_current_pidns()
265 struct pid *pid = pidfd_pid(file); in pidfd_info() local
595 struct pid *pid = cprm->pid; in pidfs_coredump() local
644 struct pid *pid = inode->i_private; in pidfs_evict_inode() local
694 const struct pid *pid = inode->i_private; in pidfs_encode_fh() local
709 const struct pid *pid = rb_entry(node, struct pid, pidfs_node); in pidfs_ino_find() 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/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/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/kernel/sched/
H A Dsyscalls.c267 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid() argument
272 static struct task_struct *find_get_task(pid_t pid) in find_get_task() argument
285 find_get_task(pid), pid_t pid) in DEFINE_CLASS() argument
874 do_sched_setscheduler(pid_t pid,int policy,struct sched_param __user * param) do_sched_setscheduler() argument
955 SYSCALL_DEFINE3(sched_setscheduler,pid_t,pid,int,policy,struct sched_param __user *,param) SYSCALL_DEFINE3() argument
970 SYSCALL_DEFINE2(sched_setparam,pid_t,pid,struct sched_param __user *,param) SYSCALL_DEFINE2() argument
981 SYSCALL_DEFINE3(sched_setattr,pid_t,pid,struct sched_attr __user *,uattr,unsigned int,flags) SYSCALL_DEFINE3() argument
1016 SYSCALL_DEFINE1(sched_getscheduler,pid_t,pid) SYSCALL_DEFINE1() argument
1046 SYSCALL_DEFINE2(sched_getparam,pid_t,pid,struct sched_param __user *,param) SYSCALL_DEFINE2() argument
1081 SYSCALL_DEFINE4(sched_getattr,pid_t,pid,struct sched_attr __user *,uattr,unsigned int,usize,unsigned int,flags) SYSCALL_DEFINE4() argument
1214 sched_setaffinity(pid_t pid,const struct cpumask * in_mask) sched_setaffinity() argument
1279 SYSCALL_DEFINE3(sched_setaffinity,pid_t,pid,unsigned int,len,unsigned long __user *,user_mask_ptr) SYSCALL_DEFINE3() argument
1295 sched_getaffinity(pid_t pid,struct cpumask * mask) sched_getaffinity() argument
1324 SYSCALL_DEFINE3(sched_getaffinity,pid_t,pid,unsigned int,len,unsigned long __user *,user_mask_ptr) SYSCALL_DEFINE3() argument
1532 sched_rr_get_interval(pid_t pid,struct timespec64 * t) sched_rr_get_interval() argument
1571 SYSCALL_DEFINE2(sched_rr_get_interval,pid_t,pid,struct __kernel_timespec __user *,interval) SYSCALL_DEFINE2() argument
1584 SYSCALL_DEFINE2(sched_rr_get_interval_time32,pid_t,pid,struct old_timespec32 __user *,interval) SYSCALL_DEFINE2() argument
[all...]
/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
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/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/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...]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-priv.h106 pid_t pid; member
182 #define CS_AMBA_ID(pid) \ argument
189 #define CS_AMBA_ID_DATA(pid, dval) \ argument
200 #define __CS_AMBA_UCI_ID(pid, m, uci_ptr) \ argument
206 #define CS_AMBA_UCI_ID(pid, uci) __CS_AMBA_UCI_ID(pid, 0x000fffff, uci) argument
233 static inline void *coresight_get_uci_data_from_amba(const struct amba_id *table, u32 pid) in coresight_get_uci_data_from_amba()
/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
/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

12345678910>>...28