Lines Matching refs:kf_root
1274 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() argument
1276 struct cgroup *root_cgrp = kernfs_root_to_node(kf_root)->priv; in cgroup_root_from_kf()
1362 kernfs_destroy_root(root->kf_root); in cgroup_destroy_root()
1896 struct kernfs_root *kf_root) in cgroup_show_path() argument
1900 struct cgroup_root *kf_cgroot = cgroup_root_from_kf(kf_root); in cgroup_show_path()
2015 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options() argument
2118 root->kf_root = kernfs_create_root(kf_sops, in cgroup_setup_root()
2123 if (IS_ERR(root->kf_root)) { in cgroup_setup_root()
2124 ret = PTR_ERR(root->kf_root); in cgroup_setup_root()
2127 root_cgrp->kn = kernfs_root_to_node(root->kf_root); in cgroup_setup_root()
2177 kernfs_destroy_root(root->kf_root); in cgroup_setup_root()
2178 root->kf_root = NULL; in cgroup_setup_root()
2193 ctx->kfc.root = ctx->root->kf_root; in cgroup_do_get_tree()
2307 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb() local
2308 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_kill_sb()
6275 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_path_from_kernfs_id()
6293 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_get_from_id()