Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dcgroup_debug.c19 struct cgroup *cont) in debug_create() argument
29 static void debug_destroy(struct cgroup_subsys *ss, struct cgroup *cont) in debug_destroy() argument
31 kfree(cont->subsys[debug_subsys_id]); in debug_destroy()
34 static u64 cgroup_refcount_read(struct cgroup *cont, struct cftype *cft) in cgroup_refcount_read() argument
36 return atomic_read(&cont->count); in cgroup_refcount_read()
39 static u64 taskcount_read(struct cgroup *cont, struct cftype *cft) in taskcount_read() argument
44 count = cgroup_task_count(cont); in taskcount_read()
49 static u64 current_css_set_read(struct cgroup *cont, struct cftype *cft) in current_css_set_read() argument
54 static u64 current_css_set_refcount_read(struct cgroup *cont, in current_css_set_refcount_read() argument
96 static int debug_populate(struct cgroup_subsys *ss, struct cgroup *cont) in debug_populate() argument
[all …]
Dcpuset.c119 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()
[all …]
Dsched.c9486 static int cpu_cgroup_populate(struct cgroup_subsys *ss, struct cgroup *cont) in cpu_cgroup_populate() argument
9488 return cgroup_add_files(cont, ss, cpu_files, ARRAY_SIZE(cpu_files)); in cpu_cgroup_populate()
/kernel/trace/
Dtrace.c1774 struct trace_field_cont *cont; local
1784 cont = (struct trace_field_cont *)ent;
1786 ok = (trace_seq_printf(s, "%s", cont->buf) > 0);