Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 36) sorted by relevance

12

/kernel/
Dpid.c159 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid()
413 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns()
420 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid()
426 struct task_struct *find_get_task_by_vpid(pid_t nr) in find_get_task_by_vpid()
461 struct pid *find_get_pid(pid_t nr) in find_get_pid()
473 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns()
476 pid_t nr = 0; in pid_nr_ns()
487 pid_t pid_vnr(struct pid *pid) in pid_vnr()
493 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
496 pid_t nr = 0; in __task_pid_nr_ns()
[all …]
Dexit.c1042 pid_t pid;
1103 pid_t pid = task_pid_vnr(p); in wait_task_zombie()
1266 pid_t pid; in wait_task_stopped()
1335 pid_t pid; in wait_task_continued()
1647 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid()
1713 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1746 long kernel_wait4(pid_t upid, int __user *stat_addr, int options, in kernel_wait4()
1789 int kernel_wait(pid_t pid, int *stat) in kernel_wait()
1805 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1824 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
Dcapability.c116 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()
Daudit.h136 pid_t ppid;
142 pid_t target_pid;
190 pid_t pid;
Dkcmp.c135 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Dtaskstats.c50 pid_t pid;
201 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
213 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid()
296 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
Dsignal.c1513 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info()
1609 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info()
3793 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3921 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific()
3950 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill()
3974 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
3990 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3999 static int do_rt_sigqueueinfo(pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_sigqueueinfo()
4018 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument
4042 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo()
[all …]
Dumh.c132 pid_t pid; in call_usermodehelper_exec_sync()
169 pid_t pid; in call_usermodehelper_exec_work()
Daudit.c127 static pid_t audit_sig_pid = -1;
267 static pid_t auditd_pid_vnr(void) in auditd_pid_vnr()
269 pid_t pid; in auditd_pid_vnr()
1091 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg()
1205 pid_t pvnr; in audit_replace()
1277 pid_t new_pid = s.pid; in audit_receive_msg()
1278 pid_t auditd_pid; in audit_receive_msg()
Dfork.c1993 pid_t nr = -1; in pidfd_show_fdinfo()
2745 pid_t kernel_clone(struct kernel_clone_args *args) in kernel_clone()
2752 pid_t nr; in kernel_clone()
2837 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) in kernel_thread()
2854 pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags) in user_mode_thread()
2941 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user()
2996 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()
3076 pid_t set_tid[MAX_PID_NS_LEVEL]; in SYSCALL_DEFINE2()
Dsys.c1068 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
1224 pid_t session = pid_vnr(sid); in ksys_setsid()
1679 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
Dseccomp.c485 static inline pid_t seccomp_can_sync_threads(void) in seccomp_can_sync_threads()
495 pid_t failed; in seccomp_can_sync_threads()
/kernel/cgroup/
Dcgroup-v1.c182 pid_t *list;
238 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq()
275 return *(pid_t *)a - *(pid_t *)b; in cmppid()
330 pid_t *array; in pidlist_array_load()
346 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); in pidlist_array_load()
365 sort(array, length, sizeof(pid_t), cmppid, NULL); in pidlist_array_load()
466 pid_t *p = v; in cgroup_pidlist_next()
467 pid_t *end = l->list + l->length; in cgroup_pidlist_next()
/kernel/trace/
Dtrace_functions_graph.c23 pid_t last_pid;
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()
385 pid_t prev_pid; in verif_pid()
386 pid_t *last_pid; 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()
1219 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open()
Dblktrace.c69 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()
Dtrace.h176 pid_t pid;
679 pid_t search_pid);
/kernel/futex/
Dpi.c206 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state()
414 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner()
Dcore.c655 pid_t owner; in handle_futex_death()
/kernel/sched/
Dcore_sched.c129 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
Dcore.c7540 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/rcu/
Drcu.h521 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask);
Dupdate.c599 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in rcutorture_sched_setaffinity()
/kernel/debug/
Ddebug_core.c125 static pid_t kgdb_sstep_pid;
/kernel/bpf/
Dtask_iter.c232 pid_t tgid; in bpf_iter_attach_task()
/kernel/debug/kdb/
Dkdb_main.c2392 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid()
2394 kdb_printf("No task with pid=%d\n", (pid_t)val); in kdb_pid()

12