Searched refs:css (Results 1 – 2 of 2) sorted by relevance
16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument18 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()37 return &cs->css; in cgrp_css_alloc()40 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument42 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()43 struct cgroup_cls_state *parent = css_cls_state(css->parent); in cgrp_css_online()51 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() argument53 kfree(css_cls_state(css)); in cgrp_css_free()105 struct cgroup_subsys_state *css; in cgrp_attach() local108 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()[all …]
93 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument96 int id = css->id; in netprio_prio()112 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument116 int id = css->id; in netprio_set_prio()136 struct cgroup_subsys_state *css; in cgrp_css_alloc() local138 css = kzalloc(sizeof(*css), GFP_KERNEL); in cgrp_css_alloc()139 if (!css) in cgrp_css_alloc()142 return css; in cgrp_css_alloc()145 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument147 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online()[all …]