Lines Matching refs:pid_t

835 	pid_t				pid;
836 pid_t tgid;
1384 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
1386 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1391 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
1396 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1402 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1422 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
1427 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1433 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
1438 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1443 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
1448 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1453 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
1455 pid_t pid = 0; in task_ppid_nr_ns()
1465 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
1471 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
1748 extern struct task_struct *find_task_by_vpid(pid_t nr);
1749 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1754 extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1944 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
1945 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);