Lines Matching refs:tg
11 struct task_group *tg; member
18 extern void autogroup_free(struct task_group *tg);
20 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
22 return !!tg->autogroup; in task_group_is_autogroup()
25 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
28 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
32 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
33 return p->signal->autogroup->tg; in autogroup_task_group()
35 return tg; in autogroup_task_group()
38 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
43 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() argument
44 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
50 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
52 return tg; in autogroup_task_group()
55 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path() argument