Searched refs:cset (Results 1 – 7 of 7) sorted by relevance
/kernel/cgroup/ |
D | debug.c | 43 struct css_set *cset; in current_css_set_read() local 53 cset = task_css_set(current); in current_css_set_read() 54 refcnt = refcount_read(&cset->refcount); in current_css_set_read() 55 seq_printf(seq, "css_set %pK %d", cset, refcnt); in current_css_set_read() 56 if (refcnt > cset->nr_tasks) in current_css_set_read() 57 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); in current_css_set_read() 64 css = cset->subsys[ss->id]; in current_css_set_read() 90 struct css_set *cset; in current_css_set_cg_links_read() local 99 cset = task_css_set(current); in current_css_set_cg_links_read() 100 list_for_each_entry(link, &cset->cgrp_links, cgrp_link) { in current_css_set_cg_links_read() [all …]
|
D | cgroup.c | 623 count += link->cset->nr_tasks; in __cgroup_task_count() 751 .cset = { 776 static bool css_set_threaded(struct css_set *cset) in css_set_threaded() argument 778 return cset->dom_cset != cset; in css_set_threaded() 790 static bool css_set_populated(struct css_set *cset) in css_set_populated() argument 794 return !list_empty(&cset->tasks) || !list_empty(&cset->mg_tasks); in css_set_populated() 854 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated() argument 860 list_for_each_entry(link, &cset->cgrp_links, cgrp_link) in css_set_update_populated() 870 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters() argument 875 list_for_each_entry_safe(it, pos, &cset->task_iters, iters_node) in css_set_skip_task_iters() [all …]
|
D | cgroup-internal.h | 98 struct css_set *cset; member 196 void put_css_set_locked(struct css_set *cset); 198 static inline void put_css_set(struct css_set *cset) in put_css_set() argument 207 if (refcount_dec_not_one(&cset->refcount)) in put_css_set() 211 put_css_set_locked(cset); in put_css_set() 218 static inline void get_css_set(struct css_set *cset) in get_css_set() argument 220 refcount_inc(&cset->refcount); in get_css_set()
|
D | namespace.c | 56 struct css_set *cset; in copy_cgroup_ns() local 75 cset = task_css_set(current); in copy_cgroup_ns() 76 get_css_set(cset); in copy_cgroup_ns() 81 put_css_set(cset); in copy_cgroup_ns() 88 new_ns->root_cset = cset; in copy_cgroup_ns()
|
D | pids.c | 218 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork() argument 224 if (cset) in pids_can_fork() 225 css = cset->subsys[pids_cgrp_id]; in pids_can_fork() 242 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork() argument 247 if (cset) in pids_cancel_fork() 248 css = cset->subsys[pids_cgrp_id]; in pids_cancel_fork()
|
D | cgroup-v1.c | 118 cgroup_migrate_add_src(link->cset, to, &mgctx); in cgroup_transfer_tasks()
|
/kernel/sched/ |
D | core.c | 3544 tg = container_of(kargs->cset->subsys[cpu_cgrp_id], in sched_cgroup_fork()
|