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