• Home
  • Raw
  • Download

Lines Matching refs:cont

119 static inline struct cpuset *cgroup_cs(struct cgroup *cont)  in cgroup_cs()  argument
121 return container_of(cgroup_subsys_state(cont, cpuset_subsys_id), in cgroup_cs()
478 struct cgroup *cont; in validate_change() local
482 list_for_each_entry(cont, &cur->css.cgroup->children, sibling) { in validate_change()
483 if (!is_cpuset_subset(cgroup_cs(cont), trial)) in validate_change()
501 list_for_each_entry(cont, &par->css.cgroup->children, sibling) { in validate_change()
502 c = cgroup_cs(cont); in validate_change()
549 struct cgroup *cont; in update_domain_attr_tree() local
561 list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { in update_domain_attr_tree()
562 child = cgroup_cs(cont); in update_domain_attr_tree()
664 struct cgroup *cont; in generate_sched_domains() local
684 list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { in generate_sched_domains()
685 child = cgroup_cs(cont); in generate_sched_domains()
1355 struct cgroup *cont, struct task_struct *tsk) in cpuset_can_attach() argument
1357 struct cpuset *cs = cgroup_cs(cont); in cpuset_can_attach()
1381 struct cgroup *cont, struct cgroup *oldcont, in cpuset_attach() argument
1386 struct cpuset *cs = cgroup_cs(cont); in cpuset_attach()
1565 static ssize_t cpuset_common_file_read(struct cgroup *cont, in cpuset_common_file_read() argument
1571 struct cpuset *cs = cgroup_cs(cont); in cpuset_common_file_read()
1601 static u64 cpuset_read_u64(struct cgroup *cont, struct cftype *cft) in cpuset_read_u64() argument
1603 struct cpuset *cs = cgroup_cs(cont); in cpuset_read_u64()
1632 static s64 cpuset_read_s64(struct cgroup *cont, struct cftype *cft) in cpuset_read_s64() argument
1634 struct cpuset *cs = cgroup_cs(cont); in cpuset_read_s64()
1740 static int cpuset_populate(struct cgroup_subsys *ss, struct cgroup *cont) in cpuset_populate() argument
1744 err = cgroup_add_files(cont, ss, files, ARRAY_SIZE(files)); in cpuset_populate()
1748 if (!cont->parent) in cpuset_populate()
1749 err = cgroup_add_file(cont, ss, in cpuset_populate()
1799 struct cgroup *cont) in cpuset_create() argument
1804 if (!cont->parent) { in cpuset_create()
1809 parent = cgroup_cs(cont->parent); in cpuset_create()
1842 static void cpuset_destroy(struct cgroup_subsys *ss, struct cgroup *cont) in cpuset_destroy() argument
1844 struct cpuset *cs = cgroup_cs(cont); in cpuset_destroy()
2009 struct cgroup *cont; in scan_for_empty_cpusets() local
2017 list_for_each_entry(cont, &cp->css.cgroup->children, sibling) { in scan_for_empty_cpusets()
2018 child = cgroup_cs(cont); in scan_for_empty_cpusets()