Home
last modified time | relevance | path

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

/kernel/
Dpid.c389 struct task_struct *find_task_by_vpid(pid_t vnr) in find_task_by_vpid()
396 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns()
422 struct pid *find_get_pid(pid_t nr) in find_get_pid()
434 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns()
437 pid_t nr = 0; in pid_nr_ns()
447 pid_t pid_vnr(struct pid *pid) in pid_vnr()
453 pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
459 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
465 pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
471 pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
Dcapability.c132 static inline int cap_get_target_pid(pid_t pid, kernel_cap_t *pEp, in cap_get_target_pid()
167 pid_t pid; in SYSCALL_DEFINE2()
245 pid_t pid; in SYSCALL_DEFINE2()
Dtaskstats.c63 pid_t pid;
111 static int send_reply(struct sk_buff *skb, pid_t pid) in send_reply()
179 static int fill_pid(pid_t pid, struct task_struct *tsk, in fill_pid()
220 static int fill_tgid(pid_t tgid, struct task_struct *first, in fill_tgid()
293 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
Dexit.c370 pid_t nr = pid_nr(pid); in __set_special_pids()
1245 static int wait_noreap_copyout(struct task_struct *p, pid_t pid, uid_t uid, in wait_noreap_copyout()
1282 pid_t pid = task_pid_vnr(p); in wait_task_zombie()
1449 pid_t pid; in wait_task_stopped()
1532 pid_t pid; in wait_task_continued()
1774 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1814 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1852 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
Dkmod.c199 pid_t pid; in wait_for_helper()
243 pid_t pid; in __call_usermodehelper()
Dsignal.c1096 kill_proc_info(int sig, struct siginfo *info, pid_t pid) in kill_proc_info()
1152 static int kill_something_info(int sig, struct siginfo *info, pid_t pid) in kill_something_info()
2233 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
2246 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill()
2292 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument
2304 SYSCALL_DEFINE2(tkill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
2313 SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, in SYSCALL_DEFINE3() argument
Daudit.h149 extern pid_t audit_sig_pid;
Dsys.c957 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
1028 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument
1065 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument
1097 pid_t session = pid_vnr(sid); in SYSCALL_DEFINE0()
Dauditsc.c136 pid_t target_pid[AUDIT_AUX_PIDS];
155 pid_t pid;
186 pid_t pid, ppid;
192 pid_t target_pid;
239 pid_t pid;
977 static int audit_log_pid_context(struct audit_context *context, pid_t pid, in audit_log_pid_context()
2475 void __audit_log_capset(pid_t pid, in __audit_log_capset()
Dcgroup.c2026 static int pid_array_load(pid_t *pidarray, int npids, struct cgroup *cgrp) in pid_array_load()
2099 return *(pid_t *)a - *(pid_t *)b; in cmppid()
2220 pid_t *pidarray; in cgroup_tasks_open()
2235 pidarray = kmalloc(npids * sizeof(pid_t), GFP_KERNEL); in cgroup_tasks_open()
2239 sort(pidarray, npids, sizeof(pid_t), cmppid, NULL); in cgroup_tasks_open()
Daudit.c103 pid_t audit_sig_pid = -1;
167 static void audit_set_pid(struct audit_buffer *ab, pid_t pid) in audit_set_pid()
455 static int audit_prepare_user_tty(pid_t pid, uid_t loginuid, u32 sessionid) in audit_prepare_user_tty()
Dposix-cpu-timers.c32 const pid_t pid = CPUCLOCK_PID(which_clock); in check_clock()
329 const pid_t pid = CPUCLOCK_PID(which_clock); in posix_cpu_clock_get()
391 const pid_t pid = CPUCLOCK_PID(new_timer->it_clock); in posix_cpu_timer_create()
Dsched.c5270 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
5472 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
5499 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, in SYSCALL_DEFINE3() argument
5514 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
5523 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument
5548 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
5582 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity()
5666 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
5682 long sched_getaffinity(pid_t pid, struct cpumask *mask) in sched_getaffinity()
5714 SYSCALL_DEFINE3(sched_getaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
[all …]
Dptrace.c558 struct task_struct *ptrace_get_task_struct(pid_t pid) in ptrace_get_task_struct()
Dfutex.c441 static struct task_struct * futex_find_get_task(pid_t pid) in futex_find_get_task()
527 pid_t pid = uval & FUTEX_TID_MASK; in lookup_pi_state()
Dcompat.c1013 asmlinkage long compat_sys_move_pages(pid_t pid, unsigned long nr_pages, in compat_sys_move_pages()
Dsysctl.c2741 pid_t tmp; in proc_do_cad_pid()
/kernel/trace/
Dtrace_functions_graph.c43 static pid_t last_pid[NR_CPUS] = { [0 ... NR_CPUS-1] = -1 };
113 print_graph_proc(struct trace_seq *s, pid_t pid) in print_graph_proc()
156 verif_pid(struct trace_seq *s, pid_t pid, int cpu) in verif_pid()
158 pid_t prev_pid; in verif_pid()
236 enum trace_type type, int cpu, pid_t pid) in print_graph_irq()
390 struct trace_seq *s, pid_t pid, int cpu) in print_graph_entry_nested()
Dtrace.h213 pid_t pid;
/kernel/time/
Dtimer_stats.c65 pid_t pid;
234 void timer_stats_update_stats(void *timer, pid_t pid, void *startf, in timer_stats_update_stats()