Lines Matching refs:tg
16 struct task_group *tg; member
23 extern void autogroup_free(struct task_group *tg);
25 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
27 return !!tg->autogroup; in task_group_is_autogroup()
30 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
33 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
38 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
39 return p->signal->autogroup->tg; in autogroup_task_group()
41 return tg; in autogroup_task_group()
44 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
49 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() argument
50 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
56 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
58 return tg; in autogroup_task_group()
61 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path() argument