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
508 struct cgroup *cgrp, in find_existing_css_set()
587 struct css_set *cg, struct cgroup *cgrp) in link_css_set()
613 struct css_set *oldcg, struct cgroup *cgrp) in find_css_set()
822 static int cgroup_call_pre_destroy(struct cgroup *cgrp) in cgroup_call_pre_destroy()
841 struct cgroup *cgrp = dentry->d_fsdata; in cgroup_diput() local
951 static void cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp) in cgroup_wakeup_rmdir_waiter()
977 struct cgroup *cgrp = &root->top_cgroup; in rebind_subsystems() local
1293 struct cgroup *cgrp = &root->top_cgroup; in cgroup_remount() local
1340 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1354 struct cgroup *cgrp = &root->top_cgroup; in init_cgroup_root() local
1650 struct cgroup *cgrp = &root->top_cgroup; in cgroup_kill_sb() local
1723 int cgroup_path(const struct cgroup *cgrp, char *buf, int buflen) in cgroup_path()
1769 struct cgroup *cgrp; member
1851 static void cgroup_task_migrate(struct cgroup *cgrp, struct cgroup *oldcgrp, in cgroup_task_migrate()
1891 int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk) in cgroup_attach_task()
1998 static int cgroup_attach_proc(struct cgroup *cgrp, struct task_struct *leader) in cgroup_attach_proc()
2147 static int attach_task_by_pid(struct cgroup *cgrp, u64 pid, bool threadgroup) in attach_task_by_pid()
2210 static int cgroup_tasks_write(struct cgroup *cgrp, struct cftype *cft, u64 pid) in cgroup_tasks_write()
2215 static int cgroup_procs_write(struct cgroup *cgrp, struct cftype *cft, u64 tgid) in cgroup_procs_write()
2227 bool cgroup_lock_live_group(struct cgroup *cgrp) in cgroup_lock_live_group()
2238 static int cgroup_release_agent_write(struct cgroup *cgrp, struct cftype *cft, in cgroup_release_agent_write()
2253 static int cgroup_release_agent_show(struct cgroup *cgrp, struct cftype *cft, in cgroup_release_agent_show()
2267 static ssize_t cgroup_write_X64(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_X64()
2300 static ssize_t cgroup_write_string(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_string()
2339 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_file_write() local
2356 static ssize_t cgroup_read_u64(struct cgroup *cgrp, struct cftype *cft, in cgroup_read_u64()
2368 static ssize_t cgroup_read_s64(struct cgroup *cgrp, struct cftype *cft, in cgroup_read_s64()
2384 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_file_read() local
2567 static int cgroup_create_dir(struct cgroup *cgrp, struct dentry *dentry, in cgroup_create_dir()
2611 int cgroup_add_file(struct cgroup *cgrp, in cgroup_add_file()
2641 int cgroup_add_files(struct cgroup *cgrp, in cgroup_add_files()
2662 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
2679 static void cgroup_advance_iter(struct cgroup *cgrp, in cgroup_advance_iter()
2734 void cgroup_iter_start(struct cgroup *cgrp, struct cgroup_iter *it) in cgroup_iter_start()
2750 struct task_struct *cgroup_iter_next(struct cgroup *cgrp, in cgroup_iter_next()
2774 void cgroup_iter_end(struct cgroup *cgrp, struct cgroup_iter *it) in cgroup_iter_end()
3075 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find()
3118 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
3184 struct cgroup *cgrp; in cgroupstats_build() local
3363 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); in cgroup_pidlist_open() local
3395 static u64 cgroup_read_notify_on_release(struct cgroup *cgrp, in cgroup_read_notify_on_release()
3401 static int cgroup_write_notify_on_release(struct cgroup *cgrp, in cgroup_write_notify_on_release()
3422 struct cgroup *cgrp = event->cgrp; in cgroup_event_remove() local
3441 struct cgroup *cgrp = event->cgrp; in cgroup_event_wake() local
3475 static int cgroup_write_event_control(struct cgroup *cgrp, struct cftype *cft, in cgroup_write_event_control()
3592 static u64 cgroup_clone_children_read(struct cgroup *cgrp, in cgroup_clone_children_read()
3598 static int cgroup_clone_children_write(struct cgroup *cgrp, in cgroup_clone_children_write()
3653 static int cgroup_populate_dir(struct cgroup *cgrp) in cgroup_populate_dir()
3691 struct cgroup *cgrp) in init_cgroup_css()
3745 struct cgroup *cgrp; in cgroup_create() local
3845 static int cgroup_has_css_refs(struct cgroup *cgrp) in cgroup_has_css_refs()
3887 static int cgroup_clear_css_refs(struct cgroup *cgrp) in cgroup_clear_css_refs()
3936 struct cgroup *cgrp = dentry->d_fsdata; in cgroup_rmdir() local
4398 struct cgroup *cgrp; in proc_cgroup_show() local
4614 struct cgroup *cgrp = task_cgroup(tsk, i); in cgroup_exit() local
4638 int cgroup_is_descendant(const struct cgroup *cgrp, struct task_struct *task) in cgroup_is_descendant()
4653 static void check_for_release(struct cgroup *cgrp) in check_for_release()
4678 struct cgroup *cgrp = css->cgroup; in __css_put() local
4726 struct cgroup *cgrp = list_entry(release_list.next, in cgroup_release_agent() local
5050 struct cgroup *cgrp; in cgroup_css_from_dir() local
5163 static u64 releasable_read(struct cgroup *cgrp, struct cftype *cft) in releasable_read()