Lines Matching defs:cgrp
186 struct cgroup *cgrp; member
243 inline int cgroup_is_removed(const struct cgroup *cgrp) in cgroup_is_removed()
253 static int cgroup_is_releasable(const struct cgroup *cgrp) in cgroup_is_releasable()
261 static int notify_on_release(const struct cgroup *cgrp) in notify_on_release()
266 static int clone_children(const struct cgroup *cgrp) in clone_children()
297 struct cgroup *cgrp; member
378 struct cgroup *cgrp = link->cgrp; in __put_css_set() local
500 struct cgroup *cgrp, in find_existing_css_set()
579 struct css_set *cg, struct cgroup *cgrp) in link_css_set()
605 struct css_set *oldcg, struct cgroup *cgrp) in find_css_set()
814 static int cgroup_call_pre_destroy(struct cgroup *cgrp) in cgroup_call_pre_destroy()
833 struct cgroup *cgrp = dentry->d_fsdata; in cgroup_diput() local
943 static void cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp) in cgroup_wakeup_rmdir_waiter()
969 struct cgroup *cgrp = &root->top_cgroup; in rebind_subsystems() local
1285 struct cgroup *cgrp = &root->top_cgroup; in cgroup_remount() local
1332 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1346 struct cgroup *cgrp = &root->top_cgroup; in init_cgroup_root() local
1646 struct cgroup *cgrp = &root->top_cgroup; in cgroup_kill_sb() local
1719 int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen) in cgroup_path()
1765 struct cgroup *cgrp; member
1846 static int cgroup_task_migrate(struct cgroup *cgrp, struct cgroup *oldcgrp, in cgroup_task_migrate()
1906 int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk) in cgroup_attach_task()
2011 static bool css_set_check_fetched(struct cgroup *cgrp, in css_set_check_fetched()
2039 static int css_set_prefetch(struct cgroup *cgrp, struct css_set *cg, in css_set_prefetch()
2068 static int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader) in cgroup_attach_proc()
2239 static int attach_task_by_pid(struct cgroup *cgrp, u64 pid, bool threadgroup) in attach_task_by_pid()
2301 static int cgroup_tasks_write(struct cgroup *cgrp, struct cftype *cft, u64 pid) in cgroup_tasks_write()
2306 static int cgroup_procs_write(struct cgroup *cgrp, struct cftype *cft, u64 tgid) in cgroup_procs_write()
2327 bool cgroup_lock_live_group(struct cgroup *cgrp) in cgroup_lock_live_group()
2338 static int cgroup_release_agent_write(struct cgroup *cgrp, struct cftype *cft, in cgroup_release_agent_write()
2353 static int cgroup_release_agent_show(struct cgroup *cgrp, struct cftype *cft, in cgroup_release_agent_show()
2367 static ssize_t cgroup_write_X64(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_X64()
2400 static ssize_t cgroup_write_string(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_string()
2439 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_file_write() local
2456 static ssize_t cgroup_read_u64(struct cgroup *cgrp, struct cftype *cft, in cgroup_read_u64()
2468 static ssize_t cgroup_read_s64(struct cgroup *cgrp, struct cftype *cft, in cgroup_read_s64()
2484 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_file_read() local
2667 static int cgroup_create_dir(struct cgroup *cgrp, struct dentry *dentry, in cgroup_create_dir()
2713 int cgroup_add_file(struct cgroup *cgrp, in cgroup_add_file()
2743 int cgroup_add_files(struct cgroup *cgrp, in cgroup_add_files()
2764 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
2781 static void cgroup_advance_iter(struct cgroup *cgrp, in cgroup_advance_iter()
2830 void cgroup_iter_start(struct cgroup *cgrp, struct cgroup_iter *it) in cgroup_iter_start()
2846 struct task_struct *cgroup_iter_next(struct cgroup *cgrp, in cgroup_iter_next()
2870 void cgroup_iter_end(struct cgroup *cgrp, struct cgroup_iter *it) in cgroup_iter_end()
3139 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find()
3182 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
3248 struct cgroup *cgrp; in cgroupstats_build() local
3427 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_pidlist_open() local
3459 static u64 cgroup_read_notify_on_release(struct cgroup *cgrp, in cgroup_read_notify_on_release()
3465 static int cgroup_write_notify_on_release(struct cgroup *cgrp, in cgroup_write_notify_on_release()
3486 struct cgroup *cgrp = event->cgrp; in cgroup_event_remove() local
3505 struct cgroup *cgrp = event->cgrp; in cgroup_event_wake() local
3539 static int cgroup_write_event_control(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_event_control()
3645 static u64 cgroup_clone_children_read(struct cgroup *cgrp, in cgroup_clone_children_read()
3651 static int cgroup_clone_children_write(struct cgroup *cgrp, in cgroup_clone_children_write()
3706 static int cgroup_populate_dir(struct cgroup *cgrp) in cgroup_populate_dir()
3744 struct cgroup *cgrp) in init_cgroup_css()
3798 struct cgroup *cgrp; in cgroup_create() local
3898 static int cgroup_has_css_refs(struct cgroup *cgrp) in cgroup_has_css_refs()
3940 static int cgroup_clear_css_refs(struct cgroup *cgrp) in cgroup_clear_css_refs()
3989 struct cgroup *cgrp = dentry->d_fsdata; in cgroup_rmdir() local
4451 struct cgroup *cgrp; in proc_cgroup_show() local
4684 struct cgroup *cgrp = task_cgroup(tsk, i); in cgroup_exit() local
4708 int cgroup_is_descendant(const struct cgroup *cgrp, struct task_struct *task) in cgroup_is_descendant()
4723 static void check_for_release(struct cgroup *cgrp) in check_for_release()
4748 struct cgroup *cgrp = css->cgroup; in __css_put() local
4796 struct cgroup *cgrp = list_entry(release_list.next, in cgroup_release_agent() local
5121 struct cgroup *cgrp; in cgroup_css_from_dir() local
5235 static u64 releasable_read(struct cgroup *cgrp, struct cftype *cft) in releasable_read()