Home
last modified time | relevance | path

Searched refs:css (Results 1 – 8 of 8) sorted by relevance

/include/linux/
Dcgroup.h82 bool css_has_online_children(struct cgroup_subsys_state *css);
122 struct cgroup_subsys_state *css);
125 struct cgroup_subsys_state *css);
132 void css_task_iter_start(struct cgroup_subsys_state *css,
215 #define css_for_each_descendant_pre(pos, css) \ argument
216 for ((pos) = css_next_descendant_pre(NULL, (css)); (pos); \
217 (pos) = css_next_descendant_pre((pos), (css)))
238 #define css_for_each_descendant_post(pos, css) \ argument
239 for ((pos) = css_next_descendant_post(NULL, (css)); (pos); \
240 (pos) = css_next_descendant_post((pos), (css)))
[all …]
Dcgroup-defs.h396 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
400 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
415 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
420 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
443 int (*css_online)(struct cgroup_subsys_state *css);
444 void (*css_offline)(struct cgroup_subsys_state *css);
445 void (*css_released)(struct cgroup_subsys_state *css);
446 void (*css_free)(struct cgroup_subsys_state *css);
447 void (*css_reset)(struct cgroup_subsys_state *css);
Dblk-cgroup.h44 struct cgroup_subsys_state css; member
221 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
223 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
252 return css_to_blkcg(blkcg->css.parent); in blkcg_parent()
346 return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen); in blkg_path()
387 css_for_each_descendant_pre((pos_css), &(p_blkg)->blkcg->css) \
402 css_for_each_descendant_post((pos_css), &(p_blkg)->blkcg->css) \
Dmemcontrol.h174 struct cgroup_subsys_state css; member
358 struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css){ in mem_cgroup_from_css() argument
359 return css ? container_of(css, struct mem_cgroup, css) : NULL; in mem_cgroup_from_css()
402 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup); in mem_cgroup_is_descendant()
426 return !!(memcg->css.flags & CSS_ONLINE); in mem_cgroup_online()
Dswap.h541 if (mem_cgroup_disabled() || !memcg->css.parent) in mem_cgroup_swappiness()
Dperf_event.h826 struct cgroup_subsys_state css; member
841 struct perf_cgroup, css); in perf_cgroup_from_task()
/include/net/
Dnetprio_cgroup.h30 struct cgroup_subsys_state *css; in task_netprioidx() local
34 css = task_css(p, net_prio_cgrp_id); in task_netprioidx()
35 idx = css->cgroup->id; in task_netprioidx()
Dcls_cgroup.h24 struct cgroup_subsys_state css; member
39 struct cgroup_cls_state, css)->classid; in task_cls_classid()