Lines Matching refs:cgroup
78 struct cgroup *cgrp;
168 static inline bool cgroup_is_dead(const struct cgroup *cgrp) in cgroup_is_dead()
173 static inline bool notify_on_release(const struct cgroup *cgrp) in notify_on_release()
206 bool cgroup_on_dfl(const struct cgroup *cgrp);
207 bool cgroup_is_thread_root(struct cgroup *cgrp);
208 bool cgroup_is_threaded(struct cgroup *cgrp);
211 struct cgroup *task_cgroup_from_root(struct task_struct *task,
213 struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline);
215 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
224 int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp);
226 void cgroup_migrate_add_src(struct css_set *src_cset, struct cgroup *dst_cgrp,
232 int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader,
240 void cgroup_lock_and_drain_offline(struct cgroup *cgrp);
247 int __cgroup_task_count(const struct cgroup *cgrp);
248 int cgroup_task_count(const struct cgroup *cgrp);
253 int cgroup_rstat_init(struct cgroup *cgrp);
254 void cgroup_rstat_exit(struct cgroup *cgrp);
272 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp);
274 void cgroup1_check_for_release(struct cgroup *cgrp);