Lines Matching defs:cgrp

317 bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
353 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
358 static bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
364 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
375 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
397 static bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
419 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
437 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
458 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
485 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
505 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
539 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()
595 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
606 int __cgroup_task_count(const struct cgroup *cgrp) in __cgroup_task_count()
623 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
636 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
662 #define for_each_css(css, ssid, cgrp) \ argument
694 #define cgroup_for_each_live_child(child, cgrp) \ argument
702 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
711 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
788 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
1050 struct cgroup *cgrp, in find_existing_css_set()
1136 struct cgroup *cgrp) in link_css_set()
1169 struct cgroup *cgrp) in find_css_set()
1321 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1496 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1593 struct cgroup *cgrp; in cgroup_kn_unlock() local
1625 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1654 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1680 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1713 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
1987 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
2015 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2154 struct cgroup *cgrp; in cgroup_do_get_tree() local
2332 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2340 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2958 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2967 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2982 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
3052 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
3093 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
3113 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
3134 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
3149 struct cgroup *cgrp = css->cgroup; in css_visible() local
3171 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
3217 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3262 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3287 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3297 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3343 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3442 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3491 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3508 struct cgroup *cgrp; in cgroup_type_write() local
3529 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3543 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3572 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3586 struct cgroup *cgrp; in cgroup_max_depth_write() local
3615 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_events_show() local
3644 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
3660 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_extra_stat_show() local
3678 struct cgroup *cgrp, int ssid) in cgroup_local_stat_show()
3710 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_local_stat_show() local
3722 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_io_pressure_show() local
3729 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_memory_pressure_show() local
3736 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_cpu_pressure_show() local
3747 struct cgroup *cgrp; in pressure_write() local
3800 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_irq_pressure_show() local
3816 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_pressure_show() local
3830 struct cgroup *cgrp; in cgroup_pressure_write() local
3903 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_freeze_show() local
3913 struct cgroup *cgrp; in cgroup_freeze_write() local
3935 static void __cgroup_kill(struct cgroup *cgrp) in __cgroup_kill()
3965 static void cgroup_kill(struct cgroup *cgrp) in cgroup_kill()
3981 struct cgroup *cgrp; in cgroup_kill_write() local
4049 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
4182 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
4231 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
4279 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
5017 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
5041 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
5062 static int cgroup_may_write(const struct cgroup *cgrp, struct super_block *sb) in cgroup_may_write()
5349 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
5399 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
5458 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
5534 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5588 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
5724 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5880 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5954 struct cgroup *cgrp; in cgroup_rmdir() local
6206 struct cgroup *cgrp, *root_cgrp; in cgroup_get_from_id() local
6261 struct cgroup *cgrp; in proc_cgroup_show() local
6356 struct cgroup *cgrp = cgroup_v1v2_get_from_file(f); in cgroup_get_from_file() local
6491 struct cgroup *cgrp = kargs->cgrp; in cgroup_css_set_put_fork() local
6782 struct cgroup *cgrp; in css_tryget_online_from_dir() local
6833 struct cgroup *cgrp = ERR_PTR(-ENOENT); in cgroup_get_from_path() local
6872 struct cgroup *cgrp; in cgroup_v1v2_get_from_fd() local
6889 struct cgroup *cgrp = cgroup_v1v2_get_from_fd(fd); in cgroup_get_from_fd() local
6980 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_clone() local
6993 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free() local