Searched refs:cgroup (Results 1 – 8 of 8) sorted by relevance
/kernel/ |
D | cgroup_freezer.c | 37 struct cgroup *cgroup) in cgroup_freezer() argument 40 cgroup_subsys_state(cgroup, freezer_subsys_id), in cgroup_freezer() 129 struct cgroup *cgroup) in freezer_create() argument 143 struct cgroup *cgroup) in freezer_destroy() argument 145 kfree(cgroup_freezer(cgroup)); in freezer_destroy() 161 struct cgroup *new_cgroup, in freezer_can_attach() 207 if (!freezer->css.cgroup->parent) in freezer_fork() 222 static void update_freezer_state(struct cgroup *cgroup, in update_freezer_state() argument 229 cgroup_iter_start(cgroup, &it); in update_freezer_state() 230 while ((task = cgroup_iter_next(cgroup, &it))) { in update_freezer_state() [all …]
|
D | ns_cgroup.c | 21 struct cgroup *cgroup) in cgroup_to_ns() argument 23 return container_of(cgroup_subsys_state(cgroup, ns_subsys_id), in cgroup_to_ns() 46 struct cgroup *new_cgroup, struct task_struct *task) in ns_can_attach() 48 struct cgroup *orig; in ns_can_attach() 74 struct cgroup *cgroup) in ns_create() argument 80 if (!cgroup_is_descendant(cgroup)) in ns_create() 90 struct cgroup *cgroup) in ns_destroy() argument 94 ns_cgroup = cgroup_to_ns(cgroup); in ns_destroy()
|
D | cgroup_debug.c | 19 struct cgroup *cont) in debug_create() 29 static void debug_destroy(struct cgroup_subsys *ss, struct cgroup *cont) in debug_destroy() 34 static u64 cgroup_refcount_read(struct cgroup *cont, struct cftype *cft) in cgroup_refcount_read() 39 static u64 taskcount_read(struct cgroup *cont, struct cftype *cft) in taskcount_read() 49 static u64 current_css_set_read(struct cgroup *cont, struct cftype *cft) in current_css_set_read() 54 static u64 current_css_set_refcount_read(struct cgroup *cont, in current_css_set_refcount_read() 65 static u64 releasable_read(struct cgroup *cgrp, struct cftype *cft) in releasable_read() 96 static int debug_populate(struct cgroup_subsys *ss, struct cgroup *cont) in debug_populate()
|
D | cgroup.c | 83 struct cgroup top_cgroup; 122 inline int cgroup_is_removed(const struct cgroup *cgrp) in cgroup_is_removed() 132 static int cgroup_is_releasable(const struct cgroup *cgrp) in cgroup_is_releasable() 140 static int notify_on_release(const struct cgroup *cgrp) in notify_on_release() 162 static void check_for_release(struct cgroup *cgrp); 275 struct cgroup *cgrp = rcu_dereference(cg->subsys[i]->cgroup); in __put_css_set() 320 struct cgroup *cgrp, in find_existing_css_set() 395 struct css_set *cg, struct cgroup *cgrp) in link_css_set() 415 struct css_set *oldcg, struct cgroup *cgrp) in find_css_set() 458 struct cgroup *cgrp = res->subsys[i]->cgroup; in find_css_set() [all …]
|
D | cpuset.c | 119 static inline struct cpuset *cgroup_cs(struct cgroup *cont) in cgroup_cs() 133 struct cgroup *to; 478 struct cgroup *cont; in validate_change() 482 list_for_each_entry(cont, &cur->css.cgroup->children, sibling) { in validate_change() 501 list_for_each_entry(cont, &par->css.cgroup->children, sibling) { in validate_change() 514 if (cgroup_task_count(cur->css.cgroup)) { in validate_change() 549 struct cgroup *cont; in update_domain_attr_tree() 561 list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { in update_domain_attr_tree() 664 struct cgroup *cont; in generate_sched_domains() 684 list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { in generate_sched_domains() [all …]
|
D | sched_debug.c | 117 cgroup_path(task_group(p)->css.cgroup, path, sizeof(path)); in print_task() 153 if (!tg->css.cgroup) { in task_group_path() 157 cgroup_path(tg->css.cgroup, buf, buflen); in task_group_path()
|
D | sched.c | 9361 static inline struct task_group *cgroup_tg(struct cgroup *cgrp) in cgroup_tg() 9368 cpu_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cgrp) in cpu_cgroup_create() 9386 cpu_cgroup_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) in cpu_cgroup_destroy() 9394 cpu_cgroup_can_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, in cpu_cgroup_can_attach() 9419 cpu_cgroup_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, in cpu_cgroup_attach() 9420 struct cgroup *old_cont, struct task_struct *tsk) in cpu_cgroup_attach() 9426 static int cpu_shares_write_u64(struct cgroup *cgrp, struct cftype *cftype, in cpu_shares_write_u64() 9432 static u64 cpu_shares_read_u64(struct cgroup *cgrp, struct cftype *cft) in cpu_shares_read_u64() 9441 static int cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, in cpu_rt_runtime_write() 9447 static s64 cpu_rt_runtime_read(struct cgroup *cgrp, struct cftype *cft) in cpu_rt_runtime_read() [all …]
|
D | Makefile | 59 obj-$(CONFIG_CGROUPS) += cgroup.o
|