Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 32) 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 …]
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()
Dexit.c1001 pid_t pid;
1062 pid_t pid = task_pid_vnr(p); in wait_task_zombie()
1224 pid_t pid; in wait_task_stopped()
1293 pid_t pid; in wait_task_continued()
1558 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid()
1624 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1657 long kernel_wait4(pid_t upid, int __user *stat_addr, int options, in kernel_wait4()
1700 int kernel_wait(pid_t pid, int *stat) in kernel_wait()
1716 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1735 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
Daudit.h127 pid_t pid, ppid;
133 pid_t target_pid;
181 pid_t pid;
Dkcmp.c152 SYSCALL_DEFINE5(kcmp, pid_t, pid1, pid_t, pid2, int, type, in SYSCALL_DEFINE5() argument
Dtaskstats.c49 pid_t pid;
179 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
191 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid()
274 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
Dsignal.c1473 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info()
1569 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info()
3687 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3814 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific()
3843 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill()
3867 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
3883 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3892 static int do_rt_sigqueueinfo(pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_sigqueueinfo()
3911 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument
3935 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo()
[all …]
Dumh.c129 pid_t pid; in call_usermodehelper_exec_sync()
166 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()
1093 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg()
1207 pid_t pvnr; in audit_replace()
1279 pid_t new_pid = s.pid; in audit_receive_msg()
1280 pid_t auditd_pid; in audit_receive_msg()
Dfork.c1813 pid_t nr = -1; in pidfd_show_fdinfo()
2524 pid_t kernel_clone(struct kernel_clone_args *args) in kernel_clone()
2531 pid_t nr; in kernel_clone()
2609 pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) in kernel_thread()
2696 pid_t *kset_tid = kargs->set_tid; in copy_clone_args_from_user()
2751 (kargs->set_tid_size * sizeof(pid_t)))) in copy_clone_args_from_user()
2831 pid_t set_tid[MAX_PID_NS_LEVEL]; in SYSCALL_DEFINE2()
Dsys.c1041 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
1112 static int do_getpgid(pid_t pid) in do_getpgid()
1140 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument
1154 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument
1197 pid_t session = pid_vnr(sid); in ksys_setsid()
1645 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
Dseccomp.c478 static inline pid_t seccomp_can_sync_threads(void) in seccomp_can_sync_threads()
488 pid_t failed; in seccomp_can_sync_threads()
Dauditsc.c112 pid_t target_pid[AUDIT_AUX_PIDS];
485 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()
Dauditfilter.c1331 pid_t pid; in audit_filter()
/kernel/cgroup/
Dcgroup-v1.c183 pid_t *list;
239 static int pidlist_uniq(pid_t *list, int length) in pidlist_uniq()
276 return *(pid_t *)a - *(pid_t *)b; in cmppid()
331 pid_t *array; in pidlist_array_load()
347 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); in pidlist_array_load()
366 sort(array, length, sizeof(pid_t), cmppid, NULL); in pidlist_array_load()
467 pid_t *p = v; in cgroup_pidlist_next()
468 pid_t *end = l->list + l->length; in cgroup_pidlist_next()
/kernel/trace/
Dtrace_functions_graph.c23 pid_t last_pid;
345 static void print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc()
385 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid()
387 pid_t prev_pid; in verif_pid()
388 pid_t *last_pid; in verif_pid()
514 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq()
908 pid_t pid = ent->pid; in print_graph_return()
1221 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()
225 pid_t pid; in __blk_add_trace()
Dtrace.h181 pid_t pid;
815 pid_t search_pid);
/kernel/sched/
Dcore.c5414 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
5863 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
5947 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument
5962 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
5973 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument
6016 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument
6045 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
6126 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument
6172 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity()
6287 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
[all …]
/kernel/rcu/
Dupdate.c481 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in rcutorture_sched_setaffinity()
Drcu.h484 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask);
/kernel/futex/
Dcore.c1019 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state()
1228 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner()
3430 pid_t owner; in handle_futex_death()
/kernel/debug/
Ddebug_core.c130 static pid_t kgdb_sstep_pid;
/kernel/debug/kdb/
Dkdb_main.c2459 p = find_task_by_pid_ns((pid_t)val, &init_pid_ns); in kdb_pid()
2461 kdb_printf("No task with pid=%d\n", (pid_t)val); in kdb_pid()
/kernel/time/
Dposix-cpu-timers.c53 const pid_t upid = CPUCLOCK_PID(clock); in pid_for_clock()

12