Lines Matching refs:kf_root
814 static struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() argument
816 struct cgroup *root_cgrp = kf_root->kn->priv; in cgroup_root_from_kf()
891 kernfs_destroy_root(root->kf_root); in cgroup_destroy_root()
1265 struct kernfs_root *kf_root) in cgroup_show_options() argument
1267 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_show_options()
1444 static int cgroup_remount(struct kernfs_root *kf_root, int *flags, char *data) in cgroup_remount() argument
1447 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_remount()
1629 root->kf_root = kernfs_create_root(&cgroup_kf_syscall_ops, in cgroup_setup_root()
1632 if (IS_ERR(root->kf_root)) { in cgroup_setup_root()
1633 ret = PTR_ERR(root->kf_root); in cgroup_setup_root()
1636 root_cgrp->kn = root->kf_root->kn; in cgroup_setup_root()
1676 kernfs_destroy_root(root->kf_root); in cgroup_setup_root()
1677 root->kf_root = NULL; in cgroup_setup_root()
1788 pinned_sb = kernfs_pin_sb(root->kf_root, NULL); in cgroup_mount()
1834 dentry = kernfs_mount(fs_type, flags, root->kf_root, in cgroup_mount()
1853 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb() local
1854 struct cgroup_root *root = cgroup_root_from_kf(kf_root); in cgroup_kill_sb()