Home
last modified time | relevance | path

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

/net/core/
Dnetclassid_cgroup.c18 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument
20 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() argument
44 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() argument
55 kfree(css_cls_state(css)); in cgrp_css_free()
74 struct cgroup_subsys_state *css; in cgrp_attach() local
77 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
[all …]
Dnetprio_cgroup.c94 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument
97 int id = css->cgroup->id; in netprio_prio()
113 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument
117 int id = css->cgroup->id; in netprio_set_prio()
137 struct cgroup_subsys_state *css; in cgrp_css_alloc() local
139 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() argument
148 struct cgroup_subsys_state *parent_css = css->parent; in cgrp_css_online()
[all …]