Lines Matching defs:cgrp
298 bool cgroup_on_dfl(const struct cgroup *cgrp) in cgroup_on_dfl()
334 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
339 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
345 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
356 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
378 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
400 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
418 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
439 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
466 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
484 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
508 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
542 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
569 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
591 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
602 int __cgroup_task_count(const struct cgroup *cgrp) in __cgroup_task_count()
619 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
632 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
658 #define for_each_css(css, ssid, cgrp) \ argument
673 #define for_each_e_css(css, ssid, cgrp) \ argument
705 #define cgroup_for_each_live_child(child, cgrp) \ argument
713 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
722 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
798 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
1061 struct cgroup *cgrp, in find_existing_css_set()
1147 struct cgroup *cgrp) in link_css_set()
1180 struct cgroup *cgrp) in find_css_set()
1320 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1468 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1565 struct cgroup *cgrp; in cgroup_kn_unlock() local
1597 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1626 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1652 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1681 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
1945 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1973 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2110 struct cgroup *cgrp; in cgroup_do_get_tree() local
2290 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2298 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2331 struct cgroup *cgrp; in task_cgroup_path() local
2908 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2917 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2932 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
2984 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
3025 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
3045 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
3066 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
3081 struct cgroup *cgrp = css->cgroup; in css_visible() local
3103 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
3149 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3194 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3223 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3233 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3279 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3378 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3427 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3444 struct cgroup *cgrp; in cgroup_type_write() local
3464 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3478 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3507 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3521 struct cgroup *cgrp; in cgroup_max_depth_write() local
3550 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_events_show() local
3571 struct cgroup *cgrp, int ssid) in cgroup_extra_stat_show()
3591 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_stat_show() local
3628 struct cgroup *cgrp; in cgroup_pressure_write() local
3685 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_freeze_show() local
3695 struct cgroup *cgrp; in cgroup_freeze_write() local
3738 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
3868 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
3917 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
3965 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
4668 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
4694 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
4958 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
5008 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
5071 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
5147 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5210 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
5357 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5522 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5596 struct cgroup *cgrp; in cgroup_rmdir() local
5873 struct cgroup *cgrp; in proc_cgroup_show() local
6192 struct cgroup *cgrp; in css_tryget_online_from_dir() local
6243 struct cgroup *cgrp; in cgroup_get_from_path() local
6277 struct cgroup *cgrp; in cgroup_get_from_fd() local
6402 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free() local
6411 int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_attach()
6421 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
6431 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()