Home
last modified time | relevance | path

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

/net/core/
Dnetclassid_cgroup.c16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument
18 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() argument
42 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() argument
53 kfree(css_cls_state(css)); in cgrp_css_free()
105 struct cgroup_subsys_state *css; in cgrp_attach() local
108 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
[all …]
Dnetprio_cgroup.c93 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument
96 int id = css->id; in netprio_prio()
112 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument
116 int id = css->id; in netprio_set_prio()
136 struct cgroup_subsys_state *css; in cgrp_css_alloc() local
138 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() argument
147 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online()
[all …]