Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 35) sorted by relevance

12

/kernel/
Dpid.c105 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 …]
Dexit.c1001 pid_t pid; member
1062 pid_t pid = task_pid_vnr(p); in wait_task_zombie() local
1224 pid_t pid; in wait_task_stopped() local
1293 pid_t pid; in wait_task_continued() local
1562 struct pid *pid = NULL; in kernel_waitid() local
1661 struct pid *pid = NULL; in kernel_wait4() local
1700 int kernel_wait(pid_t pid, int *stat) in kernel_wait()
1735 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
1744 compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE4() argument
1759 int, which, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE5() argument
[all …]
Dtaskstats.c49 pid_t pid; member
179 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
274 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
355 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply()
483 u32 pid; in cmd_attr_pid() local
Dsignal.c1451 int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid) in kill_pid_info()
1473 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info()
1519 struct pid *pid, const struct cred *cred) in kill_pid_usb_asyncio()
1569 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info()
1793 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp()
1805 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid()
1855 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
1905 struct pid *pid; in do_notify_pidfd() local
3687 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3701 static bool access_pidfd_pidns(struct pid *pid) in access_pidfd_pidns()
[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() local
229 pid_t pid; in SYSCALL_DEFINE2() local
Dcompat.c124 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
Dumh.c129 pid_t pid; in call_usermodehelper_exec_sync() local
166 pid_t pid; in call_usermodehelper_exec_work() local
Dfork.c1728 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
1766 struct pid *pid = file->private_data; in pidfd_release() local
1811 struct pid *pid = f->private_data; in pidfd_show_fdinfo() local
1845 struct pid *pid = file->private_data; in pidfd_poll() local
1912 struct pid *pid, in copy_process()
2528 struct pid *pid; in kernel_clone() local
Dsys.c945 int pid; in SYSCALL_DEFINE0() local
1041 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
1182 static void set_special_pids(struct pid *pid) in set_special_pids()
1645 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
Daudit.c106 struct pid *pid; member
269 pid_t pid; in auditd_pid_vnr() local
500 static int auditd_set(struct pid *pid, u32 portid, struct net *net, in auditd_set()
1093 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg() local
1205 static int audit_replace(struct pid *pid) in audit_replace()
Dnsproxy.c361 static int validate_nsset(struct nsset *nsset, struct pid *pid) in validate_nsset()
Dpid_namespace.c179 struct pid *pid; in zap_pid_ns_processes() local
Dptrace.c1268 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, in SYSCALL_DEFINE4() argument
1415 COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, in COMPAT_SYSCALL_DEFINE4() argument
Daudit.h127 pid_t pid, ppid; member
181 pid_t pid; member
Dauditfilter.c1331 pid_t pid; in audit_filter() local
/kernel/trace/
Dtrace_functions_graph.c345 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()
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() local
1221 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open() local
Dtrace.c614 unsigned long pid = (unsigned long)v; in trace_pid_next() local
641 unsigned long pid; in trace_pid_start() local
665 unsigned long pid = (unsigned long)v - 1; in trace_pid_show() local
685 pid_t pid; in trace_pid_write() local
2445 static void __trace_find_cmdline(int pid, char comm[]) in __trace_find_cmdline()
2472 void trace_find_cmdline(int pid, char comm[]) in trace_find_cmdline()
2483 static int *trace_find_tgid_ptr(int pid) in trace_find_tgid_ptr()
2498 int trace_find_tgid(int pid) in trace_find_tgid()
5389 int pid = ++(*pos); in saved_tgids_next() local
5396 int pid = *pos; in saved_tgids_start() local
[all …]
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() local
/kernel/debug/kdb/
Dkdb_bt.c162 unsigned long pid; in kdb_bt() local
/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/futex/
Dcore.c1019 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state() local
1228 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner() local
3379 SYSCALL_DEFINE3(get_robust_list, int, pid, in SYSCALL_DEFINE3() argument
3950 COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, in COMPAT_SYSCALL_DEFINE3() argument
/kernel/cgroup/
Dcgroup-v1.c333 int pid, n = 0; /* used for populating the array */ in pidlist_array_load() local
402 int index = 0, pid = *pos; in cgroup_pidlist_start() local
/kernel/bpf/
Dtask_iter.c29 struct pid *pid; in task_seq_get_next() local
/kernel/rcu/
Dupdate.c481 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in rcutorture_sched_setaffinity()
/kernel/time/
Dposix-cpu-timers.c54 struct pid *pid; in pid_for_clock() local
381 struct pid *pid; in posix_cpu_timer_create() local

12