Lines Matching defs:cgrp

294 bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
330 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
335 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
341 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
352 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
374 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
396 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
414 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
435 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
462 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
480 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
504 static struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
536 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
558 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
566 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
592 #define for_each_css(css, ssid, cgrp) \ argument
607 #define for_each_e_css(css, ssid, cgrp) \ argument
638 #define cgroup_for_each_live_child(child, cgrp) \ argument
646 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
655 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
730 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
989 struct cgroup *cgrp, in find_existing_css_set()
1075 struct cgroup *cgrp) in link_css_set()
1108 struct cgroup *cgrp) in find_css_set()
1247 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1395 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1489 struct cgroup *cgrp; in cgroup_kn_unlock() local
1521 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1550 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1576 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1605 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
1851 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1878 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2011 struct cgroup *cgrp; in cgroup_do_mount() local
2115 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2123 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2156 struct cgroup *cgrp; in task_cgroup_path() local
2729 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2738 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2753 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
2805 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
2846 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
2866 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
2887 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
2902 struct cgroup *cgrp = css->cgroup; in css_visible() local
2924 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
2970 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3015 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3044 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3054 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3100 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3199 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3248 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3265 struct cgroup *cgrp; in cgroup_type_write() local
3285 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3299 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3328 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3342 struct cgroup *cgrp; in cgroup_max_depth_write() local
3389 struct cgroup *cgrp, int ssid) in cgroup_extra_stat_show()
3409 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_stat_show() local
3440 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
3558 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
3607 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
3654 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
4318 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
4344 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
4579 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
4628 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
4691 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
4767 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
4830 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
4943 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5108 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5172 struct cgroup *cgrp; in cgroup_rmdir() local
5447 struct cgroup *cgrp; in proc_cgroup_show() local
5720 struct cgroup *cgrp; in css_tryget_online_from_dir() local
5771 struct cgroup *cgrp; in cgroup_get_from_path() local
5805 struct cgroup *cgrp; in cgroup_get_from_fd() local
5892 int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_attach()
5902 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
5912 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()