Home
last modified time | relevance | path

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

12

/kernel/
Dpid.c87 struct pid *pid; in is_container_init() local
127 int i, offset, max_scan, pid, last = pid_ns->last_pid; in alloc_pidmap() local
203 void put_pid(struct pid *pid) in put_pid()
221 struct pid *pid = container_of(rhp, struct pid, rcu); in delayed_put_pid() local
225 void free_pid(struct pid *pid) in free_pid()
244 struct pid *pid; in alloc_pid() local
316 struct pid *pid) in attach_pid()
329 struct pid *pid; in __change_pid() local
351 struct pid *pid) in change_pid()
365 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
[all …]
Dexit.c367 void __set_special_pids(struct pid *pid) in __set_special_pids()
382 static void set_special_pids(struct pid *pid) in set_special_pids()
1211 struct pid *pid = NULL; in task_pid_type() local
1219 static int eligible_child(enum pid_type type, struct pid *pid, int options, in eligible_child()
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() local
1449 pid_t pid; in wait_task_stopped() local
1532 pid_t pid; in wait_task_continued() local
1584 enum pid_type type, struct pid *pid, int options, in wait_consider_task()
1645 enum pid_type type, struct pid *pid, int options, in do_wait_thread()
[all …]
Dtaskstats.c63 pid_t pid; member
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()
293 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()
470 u32 pid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_PID]); in taskstats_user_cmd() local
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() local
245 pid_t pid; in SYSCALL_DEFINE2() local
Daudit.c163 int pid; member
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()
483 int pid = dest->pid; in audit_send_list() local
513 struct sk_buff *audit_make_reply(int pid, int seq, int type, int done, in audit_make_reply()
565 void audit_send_reply(int pid, int seq, int type, int done, int multi, in audit_send_reply()
630 u32 pid, u32 uid, uid_t auid, u32 ses, in audit_log_common_recv_msg()
660 u32 uid, pid, seq, sid; in audit_receive_msg() local
Dsignal.c1071 int kill_pid_info(int sig, struct siginfo *info, struct pid *pid) in kill_pid_info()
1096 kill_proc_info(int sig, struct siginfo *info, pid_t pid) in kill_proc_info()
1106 int kill_pid_info_as_uid(int sig, struct siginfo *info, struct pid *pid, in kill_pid_info_as_uid()
1152 static int kill_something_info(int sig, struct siginfo *info, pid_t pid) in kill_something_info()
1247 int kill_pgrp(struct pid *pid, int sig, int priv) in kill_pgrp()
1259 int kill_pid(struct pid *pid, int sig, int priv) in kill_pid()
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
[all …]
Dcompat.c400 compat_sys_wait4(compat_pid_t pid, compat_uint_t __user *stat_addr, int options, in compat_sys_wait4()
428 asmlinkage long compat_sys_waitid(int which, compat_pid_t pid, in compat_sys_waitid()
472 asmlinkage long compat_sys_sched_setaffinity(compat_pid_t pid, in compat_sys_sched_setaffinity()
492 asmlinkage long compat_sys_sched_getaffinity(compat_pid_t pid, unsigned int len, in compat_sys_sched_getaffinity()
1013 asmlinkage long compat_sys_move_pages(pid_t pid, unsigned long nr_pages, in compat_sys_move_pages()
1033 asmlinkage long compat_sys_migrate_pages(compat_pid_t pid, in compat_sys_migrate_pages()
Dptrace.c558 struct task_struct *ptrace_get_task_struct(pid_t pid) in ptrace_get_task_struct()
577 SYSCALL_DEFINE4(ptrace, long, request, long, pid, long, addr, long, data) in SYSCALL_DEFINE4() argument
699 asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, in compat_sys_ptrace()
Dns_cgroup.c27 int ns_cgroup_clone(struct task_struct *task, struct pid *pid) in ns_cgroup_clone()
Dkmod.c199 pid_t pid; in wait_for_helper() local
243 pid_t pid; in __call_usermodehelper() local
Dfutex_compat.c133 compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr, in compat_sys_get_robust_list()
Dkthread.c95 int pid; in create_kthread() local
Dposix-cpu-timers.c32 const pid_t pid = CPUCLOCK_PID(which_clock); in check_clock() local
329 const pid_t pid = CPUCLOCK_PID(which_clock); in posix_cpu_clock_get() local
391 const pid_t pid = CPUCLOCK_PID(new_timer->it_clock); in posix_cpu_timer_create() local
Daudit.h105 int pid; member
Dcgroup.c1299 static int attach_task_by_pid(struct cgroup *cgrp, u64 pid) in attach_task_by_pid()
1323 static int cgroup_tasks_write(struct cgroup *cgrp, struct cftype *cft, u64 pid) in cgroup_tasks_write()
2028 int n = 0, pid; in pid_array_load() local
2118 int index = 0, pid = *pos; in cgroup_tasks_start() local
2745 struct pid *pid; in proc_cgroup_show() local
2796 struct pid *pid = PROC_I(inode)->pid; in cgroup_open() local
Dauditfilter.c1451 static void audit_list(int pid, int seq, struct sk_buff_head *q) in audit_list()
1479 static void audit_list_rules(int pid, int seq, struct sk_buff_head *q) in audit_list_rules()
1551 int audit_receive_filter(int type, int pid, int uid, int seq, void *data, in audit_receive_filter()
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() local
1793 SYSCALL_DEFINE3(get_robust_list, int, pid, in SYSCALL_DEFINE3() argument
Dauditsc.c155 pid_t pid; member
186 pid_t pid, ppid; member
239 pid_t pid; member
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()
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
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 …]
Dcpuset.c2507 struct pid *pid; in proc_cpuset_show() local
2543 struct pid *pid = PROC_I(inode)->pid; in cpuset_open() local
/kernel/trace/
Dtrace_functions_graph.c113 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()
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()
Dftrace.c1736 static void clear_ftrace_pid(struct pid *pid) in clear_ftrace_pid()
1749 static void set_ftrace_pid(struct pid *pid) in set_ftrace_pid()
1760 static void clear_ftrace_pid_task(struct pid **pid) in clear_ftrace_pid_task()
1770 static void set_ftrace_pid_task(struct pid *pid) in set_ftrace_pid_task()
1782 struct pid *pid; in ftrace_pid_write() local
Dtrace.h48 int pid; member
213 pid_t pid; member
/kernel/time/
Dtimer_stats.c65 pid_t pid; member
234 void timer_stats_update_stats(void *timer, pid_t pid, void *startf, in timer_stats_update_stats()

12