Home
last modified time | relevance | path

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

12345678910>>...26

/Linux-v5.4/include/linux/
Dpid.h59 struct pid struct
63 /* lists of tasks that use this pid */ argument
66 wait_queue_head_t wait_pidfd; argument
68 struct upid numbers[1]; argument
71 extern struct pid init_struct_pid; argument
79 static inline struct pid *get_pid(struct pid *pid) in get_pid()
137 static inline struct pid_namespace *ns_of_pid(struct pid *pid) in ns_of_pid()
151 static inline bool is_child_reaper(struct pid *pid) in is_child_reaper()
167 static inline pid_t pid_nr(struct pid *pid) in pid_nr()
178 #define do_each_pid_task(pid, type, task) \ argument
[all …]
/Linux-v5.4/arch/x86/um/os-Linux/
Dregisters.c21 int save_i387_registers(int pid, unsigned long *fp_regs) in save_i387_registers()
28 int save_fp_registers(int pid, unsigned long *fp_regs) in save_fp_registers()
44 int restore_i387_registers(int pid, unsigned long *fp_regs) in restore_i387_registers()
51 int restore_fp_registers(int pid, unsigned long *fp_regs) in restore_fp_registers()
68 int save_fpx_registers(int pid, unsigned long *fp_regs) in save_fpx_registers()
75 int restore_fpx_registers(int pid, unsigned long *fp_regs) in restore_fpx_registers()
82 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers()
90 int put_fp_registers(int pid, unsigned long *regs) in put_fp_registers()
98 void arch_init_registers(int pid) in arch_init_registers()
115 int get_fp_registers(int pid, unsigned long *regs) in get_fp_registers()
[all …]
/Linux-v5.4/kernel/
Dpid.c103 void put_pid(struct pid *pid) in put_pid()
120 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local
124 void free_pid(struct pid *pid) in free_pid()
162 struct pid *pid; in alloc_pid() local
285 struct pid *pid = *task_pid_ptr(task, type); in attach_pid() local
293 struct pid *pid; in __change_pid() local
314 struct pid *pid) in change_pid()
329 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
373 struct pid *pid; in get_task_pid() local
381 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dradix_tlb.c29 unsigned int pid, in tlbiel_radix_set_isa300()
93 static __always_inline void __tlbiel_pid(unsigned long pid, int set, in __tlbiel_pid()
109 static __always_inline void __tlbie_pid(unsigned long pid, unsigned long ric) in __tlbie_pid()
151 static __always_inline void __tlbiel_va(unsigned long va, unsigned long pid, in __tlbiel_va()
167 static __always_inline void __tlbie_va(unsigned long va, unsigned long pid, in __tlbie_va()
200 static inline void fixup_tlbie_va(unsigned long va, unsigned long pid, in fixup_tlbie_va()
214 static inline void fixup_tlbie_va_range(unsigned long va, unsigned long pid, in fixup_tlbie_va_range()
228 static inline void fixup_tlbie_pid(unsigned long pid) in fixup_tlbie_pid()
284 static __always_inline void _tlbiel_pid(unsigned long pid, unsigned long ric) in _tlbiel_pid()
310 static inline void _tlbie_pid(unsigned long pid, unsigned long ric) in _tlbie_pid()
[all …]
/Linux-v5.4/drivers/pinctrl/mvebu/
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-v5.4/drivers/media/common/b2c2/
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-v5.4/arch/powerpc/mm/
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-v5.4/arch/um/os-Linux/skas/
Dprocess.c26 int is_skas_winch(int pid, int fd, void *data) in is_skas_winch()
31 static int ptrace_dump_regs(int pid) in ptrace_dump_regs()
55 void wait_stub_done(int pid) in wait_stub_done()
91 static void get_skas_faultinfo(int pid, struct faultinfo *fi, unsigned long *aux_fp_regs) in get_skas_faultinfo()
123 static void handle_segv(int pid, struct uml_pt_regs *regs, unsigned long *aux_fp_regs) in handle_segv()
133 static void handle_trap(int pid, struct uml_pt_regs *regs, in handle_trap()
268 int pid, status, n, flags, err; in start_userspace() local
336 int err, status, op, pid = userspace_pid[0]; in userspace() local
467 int copy_context_skas0(unsigned long new_stack, int pid) in copy_context_skas0()
/Linux-v5.4/arch/um/os-Linux/
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
326 int pid; in os_early_checks() local
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()
Dregisters.c14 int save_registers(int pid, struct uml_pt_regs *regs) in save_registers()
24 int restore_registers(int pid, struct uml_pt_regs *regs) in restore_registers()
39 int init_registers(int pid) in init_registers()
/Linux-v5.4/tools/perf/util/
Dthread_map.c33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
95 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-v5.4/tools/perf/scripts/python/
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 …]
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-v5.4/tools/testing/selftests/cgroup/
Dtest_freezer.c115 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen()
459 int pid; in test_cgfreezer_mkdir() local
568 int pid; in test_cgfreezer_migrate() local
644 int pid; in test_cgfreezer_ptrace() local
699 static int proc_check_stopped(int pid) in proc_check_stopped()
723 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local
767 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced() local
821 int pid = vfork(); in vfork_fn() local
/Linux-v5.4/fs/f2fs/
Dtrace.c35 static int __file_type(struct inode *inode, pid_t pid) in __file_type()
56 pid_t pid = task_pid_nr(current); in f2fs_trace_pid() local
90 pid_t pid; in f2fs_trace_ios() local
152 pid_t pid[PIDVEC_SIZE]; in f2fs_destroy_trace_ios() local
/Linux-v5.4/tools/kvm/kvm_stat/
Dkvm_stat413 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument
498 def __init__(self, pid): argument
525 def __init__(self, pid, fields_filter): argument
685 def pid(self): member in TracepointProvider
689 def pid(self, pid): member in TracepointProvider
721 def __init__(self, pid, fields_filter, include_past): argument
758 def pid(self): member in DebugfsProvider
762 def pid(self, pid): argument
906 def pid_filter(self, pid): argument
1070 def get_gname_from_pid(pid): argument
[all …]
/Linux-v5.4/sound/firewire/oxfw/
Doxfw-command.c11 unsigned int pid, u8 *format, unsigned int len) in avc_stream_set_format()
53 enum avc_general_plug_dir dir, unsigned int pid, in avc_stream_get_format()
113 unsigned short pid) in avc_general_inquiry_sig_fmt()
/Linux-v5.4/include/linux/i3c/
Ddevice.h79 #define I3C_PID_MANUF_ID(pid) (((pid) & GENMASK_ULL(47, 33)) >> 33) argument
80 #define I3C_PID_RND_LOWER_32BITS(pid) (!!((pid) & BIT_ULL(32))) argument
81 #define I3C_PID_RND_VAL(pid) ((pid) & GENMASK_ULL(31, 0)) argument
82 #define I3C_PID_PART_ID(pid) (((pid) & GENMASK_ULL(31, 16)) >> 16) argument
83 #define I3C_PID_INSTANCE_ID(pid) (((pid) & GENMASK_ULL(15, 12)) >> 12) argument
84 #define I3C_PID_EXTRA_INFO(pid) ((pid) & GENMASK_ULL(11, 0)) argument
119 u64 pid; member
/Linux-v5.4/mm/
Dprocess_vm_access.c151 static ssize_t process_vm_rw_core(pid_t pid, struct iov_iter *iter, in process_vm_rw_core()
254 static ssize_t process_vm_rw(pid_t pid, in process_vm_rw()
294 SYSCALL_DEFINE6(process_vm_readv, pid_t, pid, const struct iovec __user *, lvec, in SYSCALL_DEFINE6() argument
301 SYSCALL_DEFINE6(process_vm_writev, pid_t, pid, in SYSCALL_DEFINE6() argument
312 compat_process_vm_rw(compat_pid_t pid, in compat_process_vm_rw()
350 COMPAT_SYSCALL_DEFINE6(process_vm_readv, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE6() argument
361 COMPAT_SYSCALL_DEFINE6(process_vm_writev, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE6() argument
/Linux-v5.4/arch/x86/um/
Dptrace_user.c9 int ptrace_getregs(long pid, unsigned long *regs_out) in ptrace_getregs()
16 int ptrace_setregs(long pid, unsigned long *regs) in ptrace_setregs()
/Linux-v5.4/tools/testing/selftests/ptrace/
Dget_syscall_info.c17 kill_tracee(pid_t pid) in kill_tracee()
31 sys_ptrace(int request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace()
77 pid_t pid = fork(); in TEST() local
/Linux-v5.4/scripts/gdb/linux/
Dtasks.py42 def get_task_by_pid(pid): argument
58 def invoke(self, pid): argument
131 def invoke(self, pid): argument
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_wait.c29 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid()
47 pid_t pid; in test_pidfd_wait_simple() local
132 pid_t pid; in test_pidfd_wait_states() local
/Linux-v5.4/arch/mips/kernel/
Dmips-mt-fpaff.c41 static inline struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
65 asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, in mipsmt_sys_sched_setaffinity()
157 asmlinkage long mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len, in mipsmt_sys_sched_getaffinity()

12345678910>>...26