Lines Matching refs:kf_root
1272 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() argument
1274 struct cgroup *root_cgrp = kernfs_root_to_node(kf_root)->priv; in cgroup_root_from_kf()
1359 kernfs_destroy_root(root->kf_root); in cgroup_destroy_root()
1874 struct kernfs_root *kf_root) in cgroup_show_path() argument
1878 struct cgroup_root *kf_cgroot = cgroup_root_from_kf(kf_root); in cgroup_show_path()
1966 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options() argument
2065 root->kf_root = kernfs_create_root(kf_sops, in cgroup_setup_root()
2070 if (IS_ERR(root->kf_root)) { in cgroup_setup_root()
2071 ret = PTR_ERR(root->kf_root); in cgroup_setup_root()
2074 root_cgrp->kn = kernfs_root_to_node(root->kf_root); in cgroup_setup_root()
2124 kernfs_destroy_root(root->kf_root); in cgroup_setup_root()
2125 root->kf_root = NULL; in cgroup_setup_root()
2140 ctx->kfc.root = ctx->root->kf_root; in cgroup_do_get_tree()
2254 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb() local
2255 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_kill_sb()
6190 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_path_from_kernfs_id()
6208 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_get_from_id()