Lines Matching defs:cgrp

319 bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
355 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
360 static bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
366 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
377 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
399 static bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
421 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
439 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
460 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
487 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
507 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
541 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
571 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
597 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
608 int __cgroup_task_count(const struct cgroup *cgrp) in __cgroup_task_count()
625 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
638 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
664 #define for_each_css(css, ssid, cgrp) \ argument
696 #define cgroup_for_each_live_child(child, cgrp) \ argument
704 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
713 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
790 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
1052 struct cgroup *cgrp, in find_existing_css_set()
1138 struct cgroup *cgrp) in link_css_set()
1171 struct cgroup *cgrp) in find_css_set()
1323 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1513 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1610 struct cgroup *cgrp; in cgroup_kn_unlock() local
1642 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1671 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1697 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1730 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
2040 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
2068 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2207 struct cgroup *cgrp; in cgroup_do_get_tree() local
2385 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2393 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
3011 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
3020 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
3035 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
3105 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
3146 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
3166 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
3187 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
3202 struct cgroup *cgrp = css->cgroup; in css_visible() local
3224 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
3270 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3315 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3340 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3350 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3396 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3495 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3544 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3561 struct cgroup *cgrp; in cgroup_type_write() local
3582 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3596 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3625 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3639 struct cgroup *cgrp; in cgroup_max_depth_write() local
3668 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_events_show() local
3725 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
3741 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_extra_stat_show() local
3759 struct cgroup *cgrp, int ssid) in cgroup_local_stat_show()
3791 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_local_stat_show() local
3803 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_io_pressure_show() local
3810 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_memory_pressure_show() local
3817 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_cpu_pressure_show() local
3828 struct cgroup *cgrp; in pressure_write() local
3881 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_irq_pressure_show() local
3897 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_pressure_show() local
3911 struct cgroup *cgrp; in cgroup_pressure_write() local
3976 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_freeze_show() local
3986 struct cgroup *cgrp; in cgroup_freeze_write() local
4008 static void __cgroup_kill(struct cgroup *cgrp) in __cgroup_kill()
4038 static void cgroup_kill(struct cgroup *cgrp) in cgroup_kill()
4054 struct cgroup *cgrp; in cgroup_kill_write() local
4122 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
4241 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
4283 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
4331 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
5077 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
5101 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
5122 static int cgroup_may_write(const struct cgroup *cgrp, struct super_block *sb) in cgroup_may_write()
5405 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
5456 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
5532 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
5621 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5675 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
5813 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5965 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
6039 struct cgroup *cgrp; in cgroup_rmdir() local
6291 struct cgroup *cgrp, *root_cgrp; in cgroup_get_from_id() local
6346 struct cgroup *cgrp; in proc_cgroup_show() local
6443 struct cgroup *cgrp = cgroup_v1v2_get_from_file(f); in cgroup_get_from_file() local
6578 struct cgroup *cgrp = kargs->cgrp; in cgroup_css_set_put_fork() local
6879 struct cgroup *cgrp; in css_tryget_online_from_dir() local
6930 struct cgroup *cgrp = ERR_PTR(-ENOENT); in cgroup_get_from_path() local
6969 struct cgroup *cgrp; in cgroup_v1v2_get_from_fd() local
6986 struct cgroup *cgrp = cgroup_v1v2_get_from_fd(fd); in cgroup_get_from_fd() local
7077 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_clone() local
7090 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free() local