Lines Matching refs:pid
14 #include <linux/pid.h>
963 pid_t pid;
973 * p->real_parent->pid)
999 struct pid *thread_pid;
1511 static inline struct pid *task_pid(struct task_struct *task)
1521 * task_xid_vnr() : virtual id, i.e. the id seen from the pid namespace of
1525 * see also pid_nr() etc in include/linux/pid.h
1531 return tsk->pid;
1596 pid_t pid = 0;
1600 pid = task_tgid_nr_ns(rcu_dereference(tsk->real_parent), ns);
1604 return pid;
1663 extern struct pid *cad_pid;
1899 * finds a task by its pid in the specified namespace
1901 * finds a task by its virtual pid
1903 * see also find_vpid() etc in include/linux/pid.h
1910 * find a task by its virtual pid and get the task struct
2111 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
2112 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);