Lines Matching defs:cgrp

291 bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
327 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
332 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
338 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
349 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
371 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
393 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
411 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
432 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
459 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
477 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
501 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
535 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
562 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
584 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
595 int __cgroup_task_count(const struct cgroup *cgrp) in __cgroup_task_count()
612 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
625 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
651 #define for_each_css(css, ssid, cgrp) \ argument
666 #define for_each_e_css(css, ssid, cgrp) \ argument
698 #define cgroup_for_each_live_child(child, cgrp) \ argument
706 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
715 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
791 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
1053 struct cgroup *cgrp, in find_existing_css_set()
1139 struct cgroup *cgrp) in link_css_set()
1172 struct cgroup *cgrp) in find_css_set()
1309 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1458 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1555 struct cgroup *cgrp; in cgroup_kn_unlock() local
1587 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1616 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1642 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1671 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
1883 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1911 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2043 struct cgroup *cgrp; in cgroup_do_get_tree() local
2216 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2224 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2257 struct cgroup *cgrp; in task_cgroup_path() local
2848 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2857 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2872 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
2924 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
2965 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
2985 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
3006 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
3021 struct cgroup *cgrp = css->cgroup; in css_visible() local
3043 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
3089 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3134 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3163 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3173 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3219 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3318 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3367 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3384 struct cgroup *cgrp; in cgroup_type_write() local
3405 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3419 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3448 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3462 struct cgroup *cgrp; in cgroup_max_depth_write() local
3491 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_events_show() local
3512 struct cgroup *cgrp, int ssid) in cgroup_extra_stat_show()
3532 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_stat_show() local
3545 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_io_pressure_show() local
3552 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_memory_pressure_show() local
3559 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_cpu_pressure_show() local
3569 struct cgroup *cgrp; in cgroup_pressure_write() local
3626 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_freeze_show() local
3636 struct cgroup *cgrp; in cgroup_freeze_write() local
3679 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
3812 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
3861 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
3909 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
4617 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
4644 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
4665 static int cgroup_may_write(const struct cgroup *cgrp, struct super_block *sb) in cgroup_may_write()
4934 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
4984 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
5044 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
5120 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5184 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
5324 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5480 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5554 struct cgroup *cgrp; in cgroup_rmdir() local
5830 struct cgroup *cgrp; in proc_cgroup_show() local
5902 struct cgroup *cgrp; in cgroup_get_from_file() local
6027 struct cgroup *cgrp = kargs->cgrp; in cgroup_css_set_put_fork() local
6278 struct cgroup *cgrp; in css_tryget_online_from_dir() local
6329 struct cgroup *cgrp; in cgroup_get_from_path() local
6362 struct cgroup *cgrp; in cgroup_get_from_fd() local
6487 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free() local
6498 int cgroup_bpf_attach(struct cgroup *cgrp, in cgroup_bpf_attach()
6512 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
6523 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()