/kernel/ |
D | pid.c | 448 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 456 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid() 485 struct pid *find_get_pid(pid_t nr) in find_get_pid() 497 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 500 pid_t nr = 0; in pid_nr_ns() 511 pid_t pid_vnr(struct pid *pid) in pid_vnr() 517 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() 520 pid_t nr = 0; in __task_pid_nr_ns()
|
D | audit.h | 144 pid_t pid, ppid; 150 pid_t target_pid; 198 pid_t pid; 318 extern pid_t audit_sig_pid;
|
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() 229 pid_t pid; in SYSCALL_DEFINE2()
|
D | kcmp.c | 97 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
|
D | signal.c | 1363 int kill_proc_info(int sig, struct siginfo *info, pid_t pid) in kill_proc_info() 1427 static int kill_something_info(int sig, struct siginfo *info, pid_t pid) in kill_something_info() 2897 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument 2911 do_send_specific(pid_t tgid, pid_t pid, int sig, struct siginfo *info) in do_send_specific() 2940 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() 2963 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument 2979 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument 2988 static int do_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t *info) in do_rt_sigqueueinfo() 3011 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument 3034 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) in do_rt_tgsigqueueinfo() [all …]
|
D | taskstats.c | 63 pid_t pid; 202 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() 218 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() 288 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
|
D | exit.c | 968 pid_t pid, uid_t uid, int why, int status) in wait_noreap_copyout() 1005 pid_t pid = task_pid_vnr(p); in wait_task_zombie() 1189 pid_t pid; in wait_task_stopped() 1270 pid_t pid; in wait_task_continued() 1550 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument 1618 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument 1661 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
|
D | cgroup.c | 2341 pid_t pid; in __cgroup_procs_write() 3718 pid_t *list; 3734 #define PIDLIST_TOO_LARGE(c) ((c) * sizeof(pid_t) > (PAGE_SIZE * 2)) 3738 return vmalloc(count * sizeof(pid_t)); in pidlist_allocate() 3740 return kmalloc(count * sizeof(pid_t), GFP_KERNEL); in pidlist_allocate() 3796 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq() 3840 static pid_t pid_fry(pid_t pid) in pid_fry() 3848 static pid_t cgroup_pid_fry(struct cgroup *cgrp, pid_t pid) in cgroup_pid_fry() 3858 return *(pid_t *)a - *(pid_t *)b; in cmppid() 3863 return pid_fry(*(pid_t *)a) - pid_fry(*(pid_t *)b); in fried_cmppid() [all …]
|
D | kmod.c | 288 pid_t pid; in wait_for_helper() 327 pid_t pid; in __call_usermodehelper()
|
D | sys.c | 914 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument 985 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument 1022 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument 1065 pid_t session = pid_vnr(sid); in SYSCALL_DEFINE0() 1442 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument 2332 if (task_pid_vnr(current) != (pid_t)arg3 && in SYSCALL_DEFINE5() 2336 tsk = find_task_by_vpid((pid_t)arg3); in SYSCALL_DEFINE5()
|
D | seccomp.c | 255 static inline pid_t seccomp_can_sync_threads(void) in seccomp_can_sync_threads() 265 pid_t failed; in seccomp_can_sync_threads()
|
D | futex.c | 691 static struct task_struct * futex_find_get_task(pid_t pid) in futex_find_get_task() 818 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state() 889 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner()
|
D | auditsc.c | 112 pid_t target_pid[AUDIT_AUX_PIDS]; 458 pid_t pid; in audit_filter_rules() 984 static int audit_log_pid_context(struct audit_context *context, pid_t pid, in audit_log_pid_context()
|
D | audit.c | 115 pid_t audit_sig_pid = -1; 698 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg()
|
D | ptrace.c | 1063 static struct task_struct *ptrace_get_task_struct(pid_t pid) in ptrace_get_task_struct()
|
D | compat.c | 1085 COMPAT_SYSCALL_DEFINE6(move_pages, pid_t, pid, compat_ulong_t, nr_pages, in COMPAT_SYSCALL_DEFINE6() argument
|
D | auditfilter.c | 1263 pid_t pid; in audit_filter_user_rules()
|
/kernel/trace/ |
D | trace_functions_graph.c | 48 pid_t last_pid; 510 print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc() 562 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 564 pid_t prev_pid; in verif_pid() 565 pid_t *last_pid; in verif_pid() 702 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() 1174 pid_t pid = ent->pid; in print_graph_return() 1498 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open()
|
D | blktrace.c | 68 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note() 173 pid_t pid) in act_log_check() 210 pid_t pid; in __blk_add_trace()
|
D | trace.h | 155 pid_t pid;
|
/kernel/time/ |
D | timer_stats.c | 65 pid_t pid; 234 void timer_stats_update_stats(void *timer, pid_t pid, void *startf, in timer_stats_update_stats()
|
D | posix-cpu-timers.c | 35 const pid_t pid = CPUCLOCK_PID(which_clock); in check_clock() 288 const pid_t pid = CPUCLOCK_PID(which_clock); in posix_cpu_clock_get() 322 const pid_t pid = CPUCLOCK_PID(new_timer->it_clock); in posix_cpu_timer_create()
|
/kernel/sched/ |
D | core.c | 3670 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid() 4130 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler() 4230 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, in SYSCALL_DEFINE3() argument 4247 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 4258 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument 4292 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument 4321 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument 4399 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument 4442 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity() 4550 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument [all …]
|
/kernel/debug/ |
D | debug_core.c | 140 static pid_t kgdb_sstep_pid;
|
/kernel/debug/kdb/ |
D | kdb_main.c | 2341 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid() 2343 kdb_printf("No task with pid=%d\n", (pid_t)val); in kdb_pid()
|