Lines Matching refs:tg
13 struct task_group *tg; member
20 extern void autogroup_free(struct task_group *tg);
22 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
24 return !!tg->autogroup; in task_group_is_autogroup()
27 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
30 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
34 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
35 return p->signal->autogroup->tg; in autogroup_task_group()
37 return tg; in autogroup_task_group()
40 extern int autogroup_path(struct task_group *tg, char *buf, int buflen);
45 static inline void autogroup_free(struct task_group *tg) { } in autogroup_free() argument
46 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument
52 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument
54 return tg; in autogroup_task_group()
58 static inline int autogroup_path(struct task_group *tg, char *buf, int buflen) in autogroup_path() argument