cgroup 2504 fs/proc/base.c REG("cgroup", S_IRUGO, cgroup), cgroup 2839 fs/proc/base.c REG("cgroup", S_IRUGO, cgroup), cgroup 24 include/linux/cgroup.h struct cgroup; cgroup 54 include/linux/cgroup.h struct cgroup *cgroup; cgroup 119 include/linux/cgroup.h struct cgroup *parent; /* my parent */ cgroup 126 include/linux/cgroup.h struct cgroup *top_cgroup; cgroup 218 include/linux/cgroup.h ssize_t (*read)(struct cgroup *cgrp, struct cftype *cft, cgroup 225 include/linux/cgroup.h u64 (*read_u64)(struct cgroup *cgrp, struct cftype *cft); cgroup 229 include/linux/cgroup.h s64 (*read_s64)(struct cgroup *cgrp, struct cftype *cft); cgroup 236 include/linux/cgroup.h int (*read_map)(struct cgroup *cont, struct cftype *cft, cgroup 242 include/linux/cgroup.h int (*read_seq_string)(struct cgroup *cont, struct cftype *cft, cgroup 245 include/linux/cgroup.h ssize_t (*write)(struct cgroup *cgrp, struct cftype *cft, cgroup 254 include/linux/cgroup.h int (*write_u64)(struct cgroup *cgrp, struct cftype *cft, u64 val); cgroup 258 include/linux/cgroup.h int (*write_s64)(struct cgroup *cgrp, struct cftype *cft, s64 val); cgroup 265 include/linux/cgroup.h int (*write_string)(struct cgroup *cgrp, struct cftype *cft, cgroup 273 include/linux/cgroup.h int (*trigger)(struct cgroup *cgrp, unsigned int event); cgroup 279 include/linux/cgroup.h struct cgroup *cg; cgroup 311 include/linux/cgroup.h struct cgroup *cgrp); cgroup 312 include/linux/cgroup.h void (*pre_destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); cgroup 313 include/linux/cgroup.h void (*destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); cgroup 315 include/linux/cgroup.h struct cgroup *cgrp, struct task_struct *tsk); cgroup 316 include/linux/cgroup.h void (*attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, cgroup 317 include/linux/cgroup.h struct cgroup *old_cgrp, struct task_struct *tsk); cgroup 321 include/linux/cgroup.h struct cgroup *cgrp); cgroup 322 include/linux/cgroup.h void (*post_clone)(struct cgroup_subsys *ss, struct cgroup *cgrp); cgroup 323 include/linux/cgroup.h void (*bind)(struct cgroup_subsys *ss, struct cgroup *root); cgroup 328 include/linux/cgroup.h struct cgroup *old, cgroup 329 include/linux/cgroup.h struct cgroup *new); cgroup 361 include/linux/cgroup.h static inline struct cgroup* task_cgroup(struct task_struct *task, cgroup 364 include/linux/cgroup.h return task_subsys_state(task, subsys_id)->cgroup; cgroup 54 include/linux/memcontrol.h ((cgroup) == mem_cgroup_from_task((mm)->owner)) cgroup 82 kernel/cgroup.c struct cgroup top_cgroup; cgroup 267 kernel/cgroup.c struct cgroup *cgrp = cg->subsys[i]->cgroup; cgroup 442 kernel/cgroup.c struct cgroup *cgrp = res->subsys[i]->cgroup; cgroup 602 kernel/cgroup.c struct cgroup *cgrp = dentry->d_fsdata; cgroup 686 kernel/cgroup.c struct cgroup *cgrp = &root->top_cgroup; cgroup 718 kernel/cgroup.c BUG_ON(dummytop->subsys[i]->cgroup != dummytop); cgroup 720 kernel/cgroup.c cgrp->subsys[i]->cgroup = cgrp; cgroup 729 kernel/cgroup.c BUG_ON(cgrp->subsys[i]->cgroup != cgrp); cgroup 732 kernel/cgroup.c dummytop->subsys[i]->cgroup = dummytop; cgroup 833 kernel/cgroup.c struct cgroup *cgrp = &root->top_cgroup; cgroup 875 kernel/cgroup.c struct cgroup *cgrp = &root->top_cgroup; cgroup 992 kernel/cgroup.c struct cgroup *cgrp = &root->top_cgroup; cgroup 1082 kernel/cgroup.c struct cgroup *cgrp = &root->top_cgroup; cgroup 1130 kernel/cgroup.c static inline struct cgroup *__d_cgrp(struct dentry *dentry) cgroup 1216 kernel/cgroup.c struct cgroup *oldcgrp; cgroup 1441 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); cgroup 1486 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); cgroup 1507 kernel/cgroup.c struct cgroup *cgroup; cgroup 1525 kernel/cgroup.c return cft->read_map(state->cgroup, cft, &cb); cgroup 1527 kernel/cgroup.c return cft->read_seq_string(state->cgroup, cft, m); cgroup 1562 kernel/cgroup.c state->cgroup = __d_cgrp(file->f_dentry->d_parent); cgroup 2045 kernel/cgroup.c struct cgroup *cgrp; cgroup 2114 kernel/cgroup.c struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); cgroup 2264 kernel/cgroup.c css->cgroup = cgrp; cgroup 2284 kernel/cgroup.c struct cgroup *cgrp; cgroup 2365 kernel/cgroup.c struct cgroup *c_parent = dentry->d_parent->d_fsdata; cgroup 2404 kernel/cgroup.c struct cgroup *cgrp = dentry->d_fsdata; cgroup 2406 kernel/cgroup.c struct cgroup *parent; cgroup 2614 kernel/cgroup.c struct cgroup *cgrp; cgroup 2741 kernel/cgroup.c struct cgroup *oldcgrp, *newcgrp = NULL; cgroup 2861 kernel/cgroup.c struct cgroup *parent, *child; cgroup 2980 kernel/cgroup.c struct cgroup *target; cgroup 3018 kernel/cgroup.c struct cgroup *cgrp = css->cgroup; cgroup 3059 kernel/cgroup.c struct cgroup *cgrp = list_entry(release_list.next, cgroup 3060 kernel/cgroup.c struct cgroup, cgroup 124 kernel/cpuset.c struct cgroup *to; cgroup 433 kernel/cpuset.c struct cgroup *cont; cgroup 437 kernel/cpuset.c list_for_each_entry(cont, &cur->css.cgroup->children, sibling) { cgroup 456 kernel/cpuset.c list_for_each_entry(cont, &par->css.cgroup->children, sibling) { cgroup 469 kernel/cpuset.c if (cgroup_task_count(cur->css.cgroup)) { cgroup 504 kernel/cpuset.c struct cgroup *cont; cgroup 516 kernel/cpuset.c list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { cgroup 619 kernel/cpuset.c struct cgroup *cont; cgroup 639 kernel/cpuset.c list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { cgroup 860 kernel/cpuset.c scan.cg = cs->css.cgroup; cgroup 1015 kernel/cpuset.c ntasks = cgroup_task_count(cs->css.cgroup); /* guess */ cgroup 1021 kernel/cpuset.c if (cgroup_task_count(cs->css.cgroup) <= ntasks) cgroup 1030 kernel/cpuset.c cgroup_iter_start(cs->css.cgroup, &it); cgroup 1031 kernel/cpuset.c while ((p = cgroup_iter_next(cs->css.cgroup, &it))) { cgroup 1044 kernel/cpuset.c cgroup_iter_end(cs->css.cgroup, &it); cgroup 1704 kernel/cpuset.c struct cgroup *parent, *child; cgroup 1707 kernel/cpuset.c parent = cgroup->parent; cgroup 1713 kernel/cpuset.c cs = cgroup_cs(cgroup); cgroup 1864 kernel/cpuset.c scan.scan.cg = from->css.cgroup; cgroup 1868 kernel/cpuset.c scan.to = to->css.cgroup; cgroup 1894 kernel/cpuset.c if (list_empty(&cs->css.cgroup->css_sets)) cgroup 1929 kernel/cpuset.c struct cgroup *cont; cgroup 1937 kernel/cpuset.c list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { cgroup 2408 kernel/cpuset.c retval = cgroup_path(css->cgroup, buf, PAGE_SIZE); cgroup 24 kernel/ns_cgroup.c return container_of(cgroup_subsys_state(cgroup, ns_subsys_id), cgroup 49 kernel/ns_cgroup.c struct cgroup *orig; cgroup 81 kernel/ns_cgroup.c if (!cgroup_is_descendant(cgroup)) cgroup 96 kernel/ns_cgroup.c ns_cgroup = cgroup_to_ns(cgroup); cgroup 83 kernel/sched_debug.c cgroup_path(task_group(p)->css.cgroup, path, sizeof(path)); cgroup 124 kernel/sched_debug.c struct cgroup *cgroup = NULL; cgroup 128 kernel/sched_debug.c cgroup = tg->css.cgroup; cgroup 130 kernel/sched_debug.c if (cgroup) cgroup 131 kernel/sched_debug.c cgroup_path(cgroup, path, sizeof(path)); cgroup 196 kernel/sched_debug.c struct cgroup *cgroup = NULL; cgroup 200 kernel/sched_debug.c cgroup = tg->css.cgroup; cgroup 202 kernel/sched_debug.c if (cgroup) cgroup 203 kernel/sched_debug.c cgroup_path(cgroup, path, sizeof(path)); cgroup 920 mm/memcontrol.c if (atomic_read(&mem->css.cgroup->count) > 0) cgroup 60 security/device_cgroup.c return css_to_devcgroup(cgroup_subsys_state(cgroup, devices_subsys_id)); cgroup 187 security/device_cgroup.c struct cgroup *parent_cgroup; cgroup 194 security/device_cgroup.c parent_cgroup = cgroup->parent; cgroup 227 security/device_cgroup.c dev_cgroup = cgroup_to_devcgroup(cgroup); cgroup 276 security/device_cgroup.c struct dev_cgroup *devcgroup = cgroup_to_devcgroup(cgroup); cgroup 331 security/device_cgroup.c struct cgroup *pcg = childcg->css.cgroup->parent; cgroup 488 security/device_cgroup.c return cgroup_add_files(cgroup, ss, dev_cgroup_files,