Searched refs:css (Results 1 – 2 of 2) sorted by relevance
18 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument20 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()39 return &cs->css; in cgrp_css_alloc()42 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument44 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()45 struct cgroup_cls_state *parent = css_cls_state(css->parent); in cgrp_css_online()53 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() argument55 kfree(css_cls_state(css)); in cgrp_css_free()74 struct cgroup_subsys_state *css; in cgrp_attach() local77 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()[all …]
94 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument97 int id = css->cgroup->id; in netprio_prio()113 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument117 int id = css->cgroup->id; in netprio_set_prio()137 struct cgroup_subsys_state *css; in cgrp_css_alloc() local139 css = kzalloc(sizeof(*css), GFP_KERNEL); in cgrp_css_alloc()140 if (!css) in cgrp_css_alloc()143 return css; in cgrp_css_alloc()146 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument148 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online()[all …]