Home
last modified time | relevance | path

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

12

/kernel/
Dpid.c103 void put_pid(struct pid *pid) in put_pid()
120 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local
124 void free_pid(struct pid *pid) in free_pid()
162 struct pid *pid; in alloc_pid() local
285 struct pid *pid = *task_pid_ptr(task, type); in attach_pid() local
293 struct pid *pid; in __change_pid() local
314 struct pid *pid) in change_pid()
329 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
373 struct pid *pid; in get_task_pid() local
381 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
Dexit.c916 pid_t pid; member
977 pid_t pid = task_pid_vnr(p); in wait_task_zombie() local
1139 pid_t pid; in wait_task_stopped() local
1208 pid_t pid; in wait_task_continued() local
1476 struct pid *pid; in pidfd_get_pid() local
1494 struct pid *pid = NULL; in kernel_waitid() local
1586 struct pid *pid = NULL; in kernel_wait4() local
1644 SYSCALL_DEFINE3(waitpid, pid_t, pid, int __user *, stat_addr, int, options) in SYSCALL_DEFINE3() argument
1653 compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE4() argument
1668 int, which, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE5() argument
Dtaskstats.c53 pid_t pid; member
183 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid()
278 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener()
359 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply()
487 u32 pid; in cmd_attr_pid() local
Dsignal.c1433 int kill_pid_info(int sig, struct kernel_siginfo *info, struct pid *pid) in kill_pid_info()
1455 static int kill_proc_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_proc_info()
1501 struct pid *pid, const struct cred *cred) in kill_pid_usb_asyncio()
1551 static int kill_something_info(int sig, struct kernel_siginfo *info, pid_t pid) in kill_something_info()
1779 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp()
1791 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid()
1841 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
1891 struct pid *pid; in do_notify_pidfd() local
3634 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig) in SYSCALL_DEFINE2() argument
3648 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
Dumh.c131 pid_t pid; in call_usermodehelper_exec_sync() local
189 pid_t pid; in call_usermodehelper_exec_work() local
695 pid_t pid = tsk->pid; in __exit_umh() local
Dcompat.c212 COMPAT_SYSCALL_DEFINE3(sched_setaffinity, compat_pid_t, pid, in COMPAT_SYSCALL_DEFINE3() argument
232 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
Dfork.c1664 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
1697 struct pid *pid = file->private_data; in pidfd_release() local
1708 struct pid *pid = f->private_data; in pidfd_show_fdinfo() local
1721 struct pid *pid = file->private_data; in pidfd_poll() local
1772 struct pid *pid, in copy_process()
2346 struct pid *pid; in _do_fork() local
Dsys.c912 int pid; in SYSCALL_DEFINE0() local
1008 SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) in SYSCALL_DEFINE2() argument
1079 static int do_getpgid(pid_t pid) in do_getpgid()
1107 SYSCALL_DEFINE1(getpgid, pid_t, pid) in SYSCALL_DEFINE1() argument
1121 SYSCALL_DEFINE1(getsid, pid_t, pid) in SYSCALL_DEFINE1() argument
1149 static void set_special_pids(struct pid *pid) in set_special_pids()
1608 SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, in SYSCALL_DEFINE4() argument
Daudit.c106 struct pid *pid; member
263 pid_t pid; in auditd_pid_vnr() local
492 static int auditd_set(struct pid *pid, u32 portid, struct net *net) in auditd_set()
1047 pid_t pid = task_tgid_nr(current); in audit_log_common_recv_msg() local
1161 static int audit_replace(struct pid *pid) in audit_replace()
Dptrace.c1242 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, in SYSCALL_DEFINE4() argument
1389 COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, in COMPAT_SYSCALL_DEFINE4() argument
Dpid_namespace.c187 struct pid *pid; in zap_pid_ns_processes() local
Dfutex.c1065 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state() local
1273 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner() local
3502 SYSCALL_DEFINE3(get_robust_list, int, pid, in SYSCALL_DEFINE3() argument
4063 COMPAT_SYSCALL_DEFINE3(get_robust_list, int, pid, in COMPAT_SYSCALL_DEFINE3() argument
Daudit.h127 pid_t pid, ppid; member
181 pid_t pid; member
Dauditsc.c456 pid_t pid; in audit_filter_rules() local
955 static int audit_log_pid_context(struct audit_context *context, pid_t pid, in audit_log_pid_context()
Dauditfilter.c1326 pid_t pid; in audit_filter() local
Dkthread.c272 int pid; in create_kthread() 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
Dblktrace.c66 static void trace_note(struct blk_trace *bt, pid_t pid, int action, in trace_note()
184 pid_t pid) in act_log_check()
223 pid_t pid; in __blk_add_trace() local
Dtrace.c436 unsigned long pid = (unsigned long)v; in trace_pid_next() local
463 unsigned long pid; in trace_pid_start() local
487 unsigned long pid = (unsigned long)v - 1; in trace_pid_show() local
507 pid_t pid; in trace_pid_write() local
2140 unsigned pid, idx; in trace_save_cmdline() local
2185 static void __trace_find_cmdline(int pid, char comm[]) in __trace_find_cmdline()
2211 void trace_find_cmdline(int pid, char comm[]) in trace_find_cmdline()
2222 int trace_find_tgid(int pid) in trace_find_tgid()
5068 int pid = (int *)v - tgid_map; in saved_tgids_show() local
5147 unsigned int *pid = v; in saved_cmdlines_show() local
/kernel/debug/kdb/
Dkdb_bt.c142 unsigned long pid; in kdb_bt() local
/kernel/sched/
Dcore.c4670 static struct task_struct *find_process_by_pid(pid_t pid) in find_process_by_pid()
5085 do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param) in do_sched_setscheduler()
5164 SYSCALL_DEFINE3(sched_setscheduler, pid_t, pid, int, policy, struct sched_param __user *, param) in SYSCALL_DEFINE3() argument
5179 SYSCALL_DEFINE2(sched_setparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
5190 SYSCALL_DEFINE3(sched_setattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE3() argument
5231 SYSCALL_DEFINE1(sched_getscheduler, pid_t, pid) in SYSCALL_DEFINE1() argument
5260 SYSCALL_DEFINE2(sched_getparam, pid_t, pid, struct sched_param __user *, param) in SYSCALL_DEFINE2() argument
5341 SYSCALL_DEFINE4(sched_getattr, pid_t, pid, struct sched_attr __user *, uattr, in SYSCALL_DEFINE4() argument
5386 long sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in sched_setaffinity()
5494 SYSCALL_DEFINE3(sched_setaffinity, pid_t, pid, unsigned int, len, in SYSCALL_DEFINE3() argument
[all …]
/kernel/cgroup/
Dcgroup-v1.c335 int pid, n = 0; /* used for populating the array */ in pidlist_array_load() local
404 int index = 0, pid = *pos; in cgroup_pidlist_start() local
/kernel/time/
Dposix-cpu-timers.c50 static struct task_struct *lookup_task(const pid_t pid, bool thread, in lookup_task()
92 const pid_t pid = CPUCLOCK_PID(clock); in __get_task_for_clock() local
/kernel/rcu/
Dupdate.c453 long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask) in rcutorture_sched_setaffinity()

12