Searched refs:autogroup (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/kernel/sched/
H A Dauto_group.c13 static struct autogroup autogroup_default;
21 init_task->signal->autogroup = &autogroup_default; autogroup_init()
26 kfree(tg->autogroup); autogroup_free()
31 struct autogroup *ag = container_of(kref, struct autogroup, kref); autogroup_destroy()
42 static inline void autogroup_kref_put(struct autogroup *ag) autogroup_kref_put()
47 static inline struct autogroup *autogroup_kref_get(struct autogroup *ag) autogroup_kref_get()
53 static inline struct autogroup *autogroup_task_get(struct task_struct *p) autogroup_task_get()
55 struct autogroup *ag; autogroup_task_get()
61 ag = autogroup_kref_get(p->signal->autogroup); autogroup_task_get()
67 static inline struct autogroup *autogroup_create(void) autogroup_create()
69 struct autogroup *ag = kzalloc(sizeof(*ag), GFP_KERNEL); autogroup_create()
96 tg->autogroup = ag; autogroup_create()
128 autogroup_move_group(struct task_struct *p, struct autogroup *ag) autogroup_move_group()
130 struct autogroup *prev; autogroup_move_group()
136 prev = p->signal->autogroup; autogroup_move_group()
142 p->signal->autogroup = autogroup_kref_get(ag); autogroup_move_group()
157 struct autogroup *ag = autogroup_create(); sched_autogroup_create_attach()
174 sig->autogroup = autogroup_task_get(current); sched_autogroup_fork()
179 autogroup_kref_put(sig->autogroup); sched_autogroup_exit()
196 struct autogroup *ag; proc_sched_autogroup_set_nice()
229 struct autogroup *ag = autogroup_task_get(p); proc_sched_autogroup_show_task()
235 seq_printf(m, "/autogroup-%ld nice %d\n", ag->id, ag->nice); proc_sched_autogroup_show_task()
249 return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id); autogroup_path()
H A Dauto_group.h6 struct autogroup { struct
9 * autogroup now. It just stands for the number of task
10 * could use this autogroup.
24 return !!tg->autogroup; task_group_is_autogroup()
35 return p->signal->autogroup->tg; autogroup_task_group()
H A Dsched.h40 * low-weight task groups (eg. nice +19 on an autogroup), deeper taskgroup
260 struct autogroup *autogroup; member in struct:task_group
900 * The same is true for autogroup's p->signal->autogroup->tg, the autogroup sched_ttwu_pending()
/linux-4.1.27/include/linux/
H A Dsched.h602 struct autogroup;
686 struct autogroup *autogroup; member in struct:signal_struct
/linux-4.1.27/fs/proc/
H A Dbase.c1227 * Print out autogroup related information:
2567 REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations),

Completed in 216 milliseconds