Lines Matching defs:cgrp

295 static bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
331 static struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent()
351 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
371 static struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
404 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
427 static inline bool cgroup_is_dead(const struct cgroup *cgrp) in cgroup_is_dead()
432 static void cgroup_get(struct cgroup *cgrp) in cgroup_get()
438 static bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget()
443 static void cgroup_put(struct cgroup *cgrp) in cgroup_put()
450 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
477 bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) in cgroup_is_descendant()
487 static int notify_on_release(const struct cgroup *cgrp) in notify_on_release()
500 #define for_each_css(css, ssid, cgrp) \ argument
515 #define for_each_e_css(css, ssid, cgrp) \ argument
553 #define cgroup_for_each_live_child(child, cgrp) \ argument
573 struct cgroup *cgrp; member
629 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
884 struct cgroup *cgrp, in find_existing_css_set()
970 struct cgroup *cgrp) in link_css_set()
1003 struct cgroup *cgrp) in find_css_set()
1124 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1234 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1285 static unsigned long cgroup_calc_child_subsys_mask(struct cgroup *cgrp, in cgroup_calc_child_subsys_mask()
1329 static void cgroup_refresh_child_subsys_mask(struct cgroup *cgrp) in cgroup_refresh_child_subsys_mask()
1347 struct cgroup *cgrp; in cgroup_kn_unlock() local
1377 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1403 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1429 struct cgroup *cgrp = cgrp_override ?: css->cgroup; in css_clear_dir() local
1446 struct cgroup *cgrp = cgrp_override ?: css->cgroup; in css_populate_dir() local
1874 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1897 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2210 struct cgroup *cgrp; in task_cgroup_path() local
2613 struct cgroup *cgrp) in cgroup_migrate()
2693 struct cgroup *cgrp; in cgroup_procs_write_permission() local
2725 struct cgroup *cgrp; in __cgroup_procs_write() local
2828 struct cgroup *cgrp; in cgroup_release_agent_write() local
2845 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local
2879 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_root_controllers_show() local
2889 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2898 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2913 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
2973 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3212 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
3300 struct cgroup *cgrp = kn->priv; in cgroup_rename() local
3348 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
3393 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
3441 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
3635 static int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
4161 static void cgroup_pidlist_destroy_all(struct cgroup *cgrp) in cgroup_pidlist_destroy_all()
4254 static pid_t cgroup_pid_fry(struct cgroup *cgrp, pid_t pid) in cgroup_pid_fry()
4272 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find()
4293 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create()
4321 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
4392 struct cgroup *cgrp; in cgroupstats_build() local
4460 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local
4689 struct cgroup *cgrp = css->cgroup; in css_free_work_fn() local
4745 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
4787 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
4859 static int create_css(struct cgroup *cgrp, struct cgroup_subsys *ss, in create_css()
4924 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5142 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5199 struct cgroup *cgrp; in cgroup_rmdir() local
5434 struct cgroup *cgrp; in proc_cgroup_show() local
5717 static void check_for_release(struct cgroup *cgrp) in check_for_release()
5749 struct cgroup *cgrp = in cgroup_release_agent() local
5819 struct cgroup *cgrp; in css_tryget_online_from_dir() local