Lines Matching refs:tg
14 struct task_group *tg; member
21 extern void autogroup_free(struct task_group *tg);
23 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
25 return !!tg->autogroup; in task_group_is_autogroup()
28 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
31 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
36 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
37 return p->signal->autogroup->tg; in autogroup_task_group()
39 return tg; in autogroup_task_group()
42 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
47 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() argument
48 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
54 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
56 return tg; in autogroup_task_group()
59 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path() argument