Lines Matching refs:pid_t

746 	pid_t				pid;
747 pid_t tgid;
1228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
1230 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
1240 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1246 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
1271 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
1282 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
1292 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1297 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
1299 pid_t pid = 0; in task_ppid_nr_ns()
1309 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
1315 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
1578 extern struct task_struct *find_task_by_vpid(pid_t nr);
1579 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1584 extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1763 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
1764 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);