Lines Matching refs:pid_t
788 pid_t pid;
789 pid_t tgid;
1316 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
1318 static inline pid_t task_pid_nr(struct task_struct *tsk)
1323 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
1328 static inline pid_t task_pid_vnr(struct task_struct *tsk)
1334 static inline pid_t task_tgid_nr(struct task_struct *tsk)
1354 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
1359 static inline pid_t task_pgrp_vnr(struct task_struct *tsk)
1365 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
1370 static inline pid_t task_session_vnr(struct task_struct *tsk)
1375 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
1380 static inline pid_t task_tgid_vnr(struct task_struct *tsk)
1385 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns)
1387 pid_t pid = 0;
1397 static inline pid_t task_ppid_nr(const struct task_struct *tsk)
1403 static inline pid_t task_pgrp_nr(struct task_struct *tsk)
1677 extern struct task_struct *find_task_by_vpid(pid_t nr);
1678 extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns);
1683 extern struct task_struct *find_get_task_by_vpid(pid_t nr);
1865 extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
1866 extern long sched_getaffinity(pid_t pid, struct cpumask *mask);