Lines Matching refs:css
101 bool css_has_online_children(struct cgroup_subsys_state *css);
150 struct cgroup_subsys_state *css);
153 struct cgroup_subsys_state *css);
160 void css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags,
243 #define css_for_each_descendant_pre(pos, css) \ argument
244 for ((pos) = css_next_descendant_pre(NULL, (css)); (pos); \
245 (pos) = css_next_descendant_pre((pos), (css)))
266 #define css_for_each_descendant_post(pos, css) \ argument
267 for ((pos) = css_next_descendant_post(NULL, (css)); (pos); \
268 (pos) = css_next_descendant_post((pos), (css)))
315 void css_get(struct cgroup_subsys_state *css);
316 void css_get_many(struct cgroup_subsys_state *css, unsigned int n);
317 bool css_tryget(struct cgroup_subsys_state *css);
318 bool css_tryget_online(struct cgroup_subsys_state *css);
319 void css_put(struct cgroup_subsys_state *css);
320 void css_put_many(struct cgroup_subsys_state *css, unsigned int n);
347 static inline bool css_is_dying(struct cgroup_subsys_state *css) in css_is_dying() argument
349 return !(css->flags & CSS_NO_REF) && percpu_ref_is_dying(&css->refcnt); in css_is_dying()
452 struct cgroup_subsys_state *css; in task_get_css() local
456 css = task_css(task, subsys_id); in task_get_css()
463 if (likely(css_tryget(css))) in task_get_css()
468 return css; in task_get_css()
644 static inline void css_get(struct cgroup_subsys_state *css) {} in css_get() argument
645 static inline void css_put(struct cgroup_subsys_state *css) {} in css_put() argument