Lines Matching defs:cgrp

310 bool cgroup_on_dfl(const struct cgroup *cgrp)  in cgroup_on_dfl()
346 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
351 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
357 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
368 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
390 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
412 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
430 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
451 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
478 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
496 static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp, in cgroup_tryget_css()
520 static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp, in cgroup_e_css_by_mask()
554 struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp, in cgroup_e_css()
581 struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp, in cgroup_get_e_css()
603 static void cgroup_get_live(struct cgroup *cgrp) in cgroup_get_live()
614 int __cgroup_task_count(const struct cgroup *cgrp) in __cgroup_task_count()
631 int cgroup_task_count(const struct cgroup *cgrp) in cgroup_task_count()
644 struct cgroup *cgrp = of->kn->parent->priv; in of_css() local
670 #define for_each_css(css, ssid, cgrp) \ argument
685 #define for_each_e_css(css, ssid, cgrp) \ argument
717 #define cgroup_for_each_live_child(child, cgrp) \ argument
725 #define cgroup_for_each_live_descendant_pre(dsct, d_css, cgrp) \ argument
734 #define cgroup_for_each_live_descendant_post(dsct, d_css, cgrp) \ argument
813 static void cgroup_update_populated(struct cgroup *cgrp, bool populated) in cgroup_update_populated()
1075 struct cgroup *cgrp, in find_existing_css_set()
1161 struct cgroup *cgrp) in link_css_set()
1194 struct cgroup *cgrp) in find_css_set()
1335 struct cgroup *cgrp = &root->cgrp; in cgroup_destroy_root() local
1484 static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft, in cgroup_file_name()
1581 struct cgroup *cgrp; in cgroup_kn_unlock() local
1613 struct cgroup *cgrp; in cgroup_kn_lock_live() local
1642 static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft) in cgroup_rm_file()
1668 struct cgroup *cgrp = css->cgroup; in css_clear_dir() local
1697 struct cgroup *cgrp = css->cgroup; in css_populate_dir() local
1932 static void init_cgroup_housekeeping(struct cgroup *cgrp) in init_cgroup_housekeeping()
1960 struct cgroup *cgrp = &root->cgrp; in init_cgroup_root() local
2092 struct cgroup *cgrp; in cgroup_do_get_tree() local
2267 int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns_locked()
2275 int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen, in cgroup_path_ns()
2308 struct cgroup *cgrp; in task_cgroup_path() local
2951 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_controllers_show() local
2960 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_subtree_control_show() local
2975 static int cgroup_update_dfl_csses(struct cgroup *cgrp) in cgroup_update_dfl_csses()
3036 void cgroup_lock_and_drain_offline(struct cgroup *cgrp) in cgroup_lock_and_drain_offline()
3077 static void cgroup_save_control(struct cgroup *cgrp) in cgroup_save_control()
3097 static void cgroup_propagate_control(struct cgroup *cgrp) in cgroup_propagate_control()
3118 static void cgroup_restore_control(struct cgroup *cgrp) in cgroup_restore_control()
3133 struct cgroup *cgrp = css->cgroup; in css_visible() local
3155 static int cgroup_apply_control_enable(struct cgroup *cgrp) in cgroup_apply_control_enable()
3201 static void cgroup_apply_control_disable(struct cgroup *cgrp) in cgroup_apply_control_disable()
3246 static int cgroup_apply_control(struct cgroup *cgrp) in cgroup_apply_control()
3275 static void cgroup_finalize_control(struct cgroup *cgrp, int ret) in cgroup_finalize_control()
3285 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable()
3331 struct cgroup *cgrp, *child; in cgroup_subtree_control_write() local
3430 static int cgroup_enable_threaded(struct cgroup *cgrp) in cgroup_enable_threaded()
3479 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_type_show() local
3496 struct cgroup *cgrp; in cgroup_type_write() local
3517 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_descendants_show() local
3531 struct cgroup *cgrp; in cgroup_max_descendants_write() local
3560 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_max_depth_show() local
3574 struct cgroup *cgrp; in cgroup_max_depth_write() local
3603 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_events_show() local
3624 struct cgroup *cgrp, int ssid) in cgroup_extra_stat_show()
3644 struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup; in cpu_stat_show() local
3657 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_io_pressure_show() local
3664 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_memory_pressure_show() local
3671 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_cpu_pressure_show() local
3682 struct cgroup *cgrp; in cgroup_pressure_write() local
3761 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_freeze_show() local
3771 struct cgroup *cgrp; in cgroup_freeze_write() local
3833 struct cgroup *cgrp = of->kn->parent->priv; in cgroup_file_write() local
3966 static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, in cgroup_add_file()
4015 struct cgroup *cgrp, struct cftype cfts[], in cgroup_addrm_files()
4065 struct cgroup *cgrp = css->cgroup; in cgroup_apply_cftypes() local
4778 struct cgroup *cgrp = seq_css(s)->cgroup; in __cgroup_procs_start() local
4802 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_procs_start() local
4823 static int cgroup_may_write(const struct cgroup *cgrp, struct super_block *sb) in cgroup_may_write()
5115 struct cgroup *cgrp = css->cgroup; in css_free_rwork_fn() local
5165 struct cgroup *cgrp = css->cgroup; in css_release_work_fn() local
5225 struct cgroup_subsys *ss, struct cgroup *cgrp) in init_and_link_css()
5301 static struct cgroup_subsys_state *css_create(struct cgroup *cgrp, in css_create()
5365 struct cgroup *cgrp, *tcgrp; in cgroup_create() local
5505 struct cgroup *parent, *cgrp; in cgroup_mkdir() local
5661 static int cgroup_destroy_locked(struct cgroup *cgrp) in cgroup_destroy_locked()
5735 struct cgroup *cgrp; in cgroup_rmdir() local
6005 struct cgroup *cgrp; in proc_cgroup_show() local
6077 struct cgroup *cgrp; in cgroup_get_from_file() local
6203 struct cgroup *cgrp = kargs->cgrp; in cgroup_css_set_put_fork() local
6466 struct cgroup *cgrp; in css_tryget_online_from_dir() local
6517 struct cgroup *cgrp; in cgroup_get_from_path() local
6550 struct cgroup *cgrp; in cgroup_get_from_fd() local
6675 struct cgroup *cgrp = sock_cgroup_ptr(skcd); in cgroup_sk_free() local
6686 int cgroup_bpf_attach(struct cgroup *cgrp, in cgroup_bpf_attach()
6700 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in cgroup_bpf_detach()
6711 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, in cgroup_bpf_query()