Lines Matching refs:kf_root
1287 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() argument
1289 struct cgroup *root_cgrp = kernfs_root_to_node(kf_root)->priv; in cgroup_root_from_kf()
1375 kernfs_destroy_root(root->kf_root); in cgroup_destroy_root()
1909 struct kernfs_root *kf_root) in cgroup_show_path() argument
1913 struct cgroup_root *kf_cgroot = cgroup_root_from_kf(kf_root); in cgroup_show_path()
2028 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options() argument
2131 root->kf_root = kernfs_create_root(kf_sops, in cgroup_setup_root()
2137 if (IS_ERR(root->kf_root)) { in cgroup_setup_root()
2138 ret = PTR_ERR(root->kf_root); in cgroup_setup_root()
2141 root_cgrp->kn = kernfs_root_to_node(root->kf_root); in cgroup_setup_root()
2193 kernfs_destroy_root(root->kf_root); in cgroup_setup_root()
2194 root->kf_root = NULL; in cgroup_setup_root()
2209 ctx->kfc.root = ctx->root->kf_root; in cgroup_do_get_tree()
2323 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb() local
2324 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_kill_sb()
6323 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_path_from_kernfs_id()
6341 kn = kernfs_find_and_get_node_by_id(cgrp_dfl_root.kf_root, id); in cgroup_get_from_id()