/kernel/ |
D | pid.c | 105 void put_pid(struct pid *pid) in put_pid() 122 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local 126 void free_pid(struct pid *pid) in free_pid() 162 struct pid *pid; in alloc_pid() local 333 struct pid *pid = *task_pid_ptr(task, type); in attach_pid() local 341 struct pid *pid; in __change_pid() local 362 struct pid *pid) in change_pid() 396 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 441 struct pid *pid; in get_task_pid() local 449 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
D | exit.c | 1042 pid_t pid; member 1103 pid_t pid = task_pid_vnr(p); in wait_task_zombie() local 1266 pid_t pid; in wait_task_stopped() local 1335 pid_t pid; in wait_task_continued() local 1651 struct pid *pid = NULL; in kernel_waitid() local 1750 struct pid *pid = NULL; in kernel_wait4() local 1789 int kernel_wait(pid_t pid, int *stat) in kernel_wait() 1824 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument 1833 compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE4() argument 1848 int, which, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE5() argument [all …]
|
D | taskstats.c | 50 pid_t pid; member 201 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() 296 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener() 377 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply() 505 u32 pid; in cmd_attr_pid() local
|
D | signal.c | 1491 int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid) in kill_pid_info() 1513 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info() 1559 struct pid *pid, const struct cred *cred) in kill_pid_usb_asyncio() 1609 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info() 1926 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp() 1938 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid() 1983 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue() 2033 struct pid *pid; in do_notify_pidfd() local 3793 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument 3807 static bool access_pidfd_pidns(struct pid *pid) in access_pidfd_pidns() [all …]
|
D | capability.c | 116 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid() 151 pid_t pid; in SYSCALL_DEFINE2() local 229 pid_t pid; in SYSCALL_DEFINE2() local
|
D | compat.c | 124 COMPAT_SYSCALL_DEFINE3(sched_setaffinity, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE3() argument 144 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
|
D | umh.c | 132 pid_t pid; in call_usermodehelper_exec_sync() local 169 pid_t pid; in call_usermodehelper_exec_work() local
|
D | fork.c | 1907 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 1946 struct pid *pid = file->private_data; in pidfd_release() local 1991 struct pid *pid = f->private_data; in pidfd_show_fdinfo() local 2025 struct pid *pid = file->private_data; in pidfd_poll() local 2104 struct pid *pid, in copy_process() 2749 struct pid *pid; in kernel_clone() local
|
D | sys.c | 972 int pid; in SYSCALL_DEFINE0() local 1068 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument 1139 static int do_getpgid(pid_t pid) in do_getpgid() 1167 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument 1181 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument 1209 static void set_special_pids(struct pid *pid) in set_special_pids() 1679 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
|
D | audit.c | 106 struct pid *pid; member 269 pid_t pid; in auditd_pid_vnr() local 498 static int auditd_set(struct pid *pid, u32 portid, struct net *net, in auditd_set() 1091 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg() local 1203 static int audit_replace(struct pid *pid) in audit_replace()
|
D | nsproxy.c | 356 static int validate_nsset(struct nsset *nsset, struct pid *pid) in validate_nsset()
|
D | pid_namespace.c | 172 struct pid *pid; in zap_pid_ns_processes() local
|
D | ptrace.c | 1269 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, in SYSCALL_DEFINE4() argument 1408 COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, in COMPAT_SYSCALL_DEFINE4() argument
|
/kernel/trace/ |
D | pid_list.c | 93 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()
|
D | trace_functions_graph.c | 343 static void print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc() 383 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 512 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() 906 pid_t pid = ent->pid; in print_graph_return() local 1219 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open() local
|
D | blktrace.c | 69 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() 186 pid_t pid) in act_log_check() 226 pid_t pid; in __blk_add_trace() local
|
D | trace.c | 619 long pid = (unsigned long)v; in trace_pid_next() local 647 unsigned long pid; in trace_pid_start() local 673 unsigned long pid = (unsigned long)v - 1; in trace_pid_show() local 693 pid_t pid; in trace_pid_write() local 2455 static void __trace_find_cmdline(int pid, char comm[]) in __trace_find_cmdline() 2482 void trace_find_cmdline(int pid, char comm[]) in trace_find_cmdline() 2493 static int *trace_find_tgid_ptr(int pid) in trace_find_tgid_ptr() 2508 int trace_find_tgid(int pid) in trace_find_tgid() 5825 int pid = ++(*pos); in saved_tgids_next() local 5832 int pid = *pos; in saved_tgids_start() local [all …]
|
/kernel/bpf/ |
D | bpf_task_storage.c | 123 struct pid *pid; in bpf_pid_task_storage_lookup_elem() local 157 struct pid *pid; in bpf_pid_task_storage_update_elem() local 204 struct pid *pid; in bpf_pid_task_storage_delete_elem() local
|
D | task_iter.c | 22 u32 pid; member 39 struct pid *pid; in task_group_seq_get_next() local 114 struct pid *pid; in task_seq_get_next() local 231 struct pid *pid; in bpf_iter_attach_task() local
|
/kernel/debug/kdb/ |
D | kdb_bt.c | 162 unsigned long pid; in kdb_bt() local
|
/kernel/futex/ |
D | pi.c | 206 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state() local 414 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner() local
|
D | syscalls.c | 50 SYSCALL_DEFINE3(get_robust_list, int, pid, in SYSCALL_DEFINE3() argument 323 COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, in COMPAT_SYSCALL_DEFINE3() argument
|
/kernel/sched/ |
D | core_sched.c | 129 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
|
D | core.c | 7540 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid() 8002 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 8086 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument 8101 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 8112 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument 8155 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument 8184 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 8265 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument 8379 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity() 8446 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument [all …]
|
/kernel/cgroup/ |
D | cgroup-v1.c | 332 int pid, n = 0; /* used for populating the array */ in pidlist_array_load() local 401 int index = 0, pid = *pos; in cgroup_pidlist_start() local
|