Lines Matching refs:pid_t

788 	pid_t				pid;
789 pid_t tgid;
1302 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
1304 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1309 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
1314 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1320 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1340 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
1345 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
1351 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
1356 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
1361 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
1366 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
1371 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
1373 pid_t pid = 0; in task_ppid_nr_ns()
1383 static inline pid_t task_ppid_nr(const struct task_struct *tsk) in task_ppid_nr()
1389 static inline pid_t task_pgrp_nr(struct task_struct *tsk) in task_pgrp_nr()
1664 extern struct task_struct *find_task_by_vpid(pid_t nr);
1665 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1670 extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1852 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
1853 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);