| /linux/fs/efivarfs/ |
| H A D | super.c | 227 dentry = try_lookup_noperm(&QSTR(name), sb->s_root); in efivarfs_variable_is_present() 241 struct dentry *dentry, *root = sb->s_root; in efivarfs_create_dentry() 367 sb->s_root = root; in efivarfs_fill_super() 422 dentry = try_lookup_noperm(&QSTR(name), sb->s_root); in efivarfs_check_missing() 469 child = find_next_child(sb->s_root, child); in efivarfs_unfreeze_fs()
|
| /linux/fs/devpts/ |
| H A D | inode.c | 126 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 264 struct dentry *root = sb->s_root; in mknod_ptmx() 384 s->s_root = d_make_root(inode); in devpts_fill_super() 385 if (!s->s_root) { in devpts_fill_super() 507 root = sb->s_root; in devpts_pty_new()
|
| /linux/fs/kernfs/ |
| H A D | mount.c | 231 dentry = dget(sb->s_root); in kernfs_node_dentry() 321 sb->s_root = root; in kernfs_fill_super() 386 if (!sb->s_root) { in kernfs_get_tree() 408 fc->root = dget(sb->s_root); in kernfs_get_tree()
|
| /linux/drivers/android/ |
| H A D | binderfs.c | 185 root = sb->s_root; in binderfs_binder_device_create() 391 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 543 dir = binderfs_create_dir(sb->s_root, "features"); in init_binder_features() 581 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 668 sb->s_root = d_make_root(inode); in binderfs_fill_super() 669 if (!sb->s_root) in binderfs_fill_super()
|
| /linux/drivers/android/binder/ |
| H A D | rust_binderfs.c | 180 root = sb->s_root; in binderfs_binder_device_create() 382 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 544 dir = binderfs_create_dir(sb->s_root, "features"); in init_binder_features() 575 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 672 sb->s_root = d_make_root(inode); in binderfs_fill_super() 673 if (!sb->s_root) in binderfs_fill_super()
|
| /linux/drivers/mtd/ |
| H A D | mtdsuper.c | 37 if (sb->s_root) { in mtd_get_sb() 65 fc->root = dget(sb->s_root); in mtd_get_sb()
|
| /linux/fs/9p/ |
| H A D | fid.c | 202 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 219 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid() 222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
| H A D | vfs_super.c | 131 sb->s_root = root; in v9fs_get_tree() 138 fc->root = dget(sb->s_root); in v9fs_get_tree()
|
| /linux/security/tomoyo/ |
| H A D | realpath.c | 180 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() 261 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
|
| /linux/arch/s390/hypfs/ |
| H A D | inode.c | 172 rc = hypfs_vm_create_files(sb->s_root); in hypfs_write_iter() 174 rc = hypfs_diag_create_files(sb->s_root); in hypfs_write_iter() 257 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
|
| /linux/fs/nilfs2/ |
| H A D | super.c | 1069 sb->s_root = NULL; in nilfs_fill_super() 1098 err = nilfs_get_root_dentry(sb, fsroot, &sb->s_root); in nilfs_fill_super() 1180 root = NILFS_I(d_inode(sb->s_root))->i_root; in nilfs_reconfigure() 1225 if (!s->s_root) { in nilfs_get_tree() 1234 if (nilfs_tree_is_busy(s->s_root)) { in nilfs_get_tree() 1250 fc->root = dget(s->s_root); in nilfs_get_tree() 1271 fc->root = dget(s->s_root); in nilfs_get_tree()
|
| /linux/fs/ |
| H A D | super.c | 566 if (!(sb->s_flags & SB_DYING) && sb->s_root && in super_trylock_shared() 622 if (sb->s_root) { in generic_shutdown_super() 1051 if (!sb->s_root) in reconfigure_super() 1116 fc = fs_context_for_reconfigure(sb->s_root, in do_emergency_remount_callback() 1326 if (!sb->s_root) { in vfs_get_super() 1334 fc->root = dget(sb->s_root); in vfs_get_super() 1448 if (!sb->s_root || !(sb->s_flags & SB_ACTIVE)) { in bdev_super_lock() 1684 if (s->s_root) { in get_tree_bdev_flags() 1703 fc->root = dget(s->s_root); in get_tree_bdev_flags()
|
| /linux/fs/afs/ |
| H A D | super.c | 481 sb->s_root = d_make_root(inode); in afs_fill_super() 482 if (!sb->s_root) in afs_fill_super() 577 if (!sb->s_root) { in afs_get_tree() 589 fc->root = dget(sb->s_root); in afs_get_tree()
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 168 if (root_inode != d_inode(root_inode->i_sb->s_root)) { in set_tracefs_inode_owner() 172 root_inode = d_inode(root_inode->i_sb->s_root); in set_tracefs_inode_owner() 313 struct inode *inode = d_inode(sb->s_root); in tracefs_apply_options() 573 return d_inode(inode->i_sb->s_root); in instance_inode()
|
| /linux/fs/freevxfs/ |
| H A D | vxfs_super.c | 266 sbp->s_root = d_make_root(root); in vxfs_fill_super() 267 if (!sbp->s_root) { in vxfs_fill_super()
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 274 sb->s_root = d_make_root(inode); in ramfs_fill_super() 275 if (!sb->s_root) in ramfs_fill_super()
|
| /linux/fs/ceph/ |
| H A D | quota.c | 26 struct inode *root = d_inode(sb->s_root); in ceph_has_realms_with_quotas() 513 if (!ceph_has_realms_with_quotas(d_inode(fsc->sb->s_root))) in ceph_quota_update_statfs() 517 get_quota_realm(mdsc, d_inode(fsc->sb->s_root), QUOTA_GET_MAX_BYTES, in ceph_quota_update_statfs()
|
| H A D | export.c | 155 if (ceph_security_xattr_wanted(d_inode(sb->s_root))) in __lookup_inode() 255 if (ceph_security_xattr_wanted(d_inode(sb->s_root))) in __snapfh_to_dentry() 348 if (ceph_security_xattr_wanted(d_inode(sb->s_root))) in __get_parent()
|
| /linux/security/selinux/ |
| H A D | selinuxfs.c | 503 rd.new_parent = fsi->sb->s_root; in sel_make_policy_nodes() 1807 dentry = simple_start_creating(sb->s_root, ".swapover"); in sel_make_swapover_dir() 1818 inc_nlink(sb->s_root->d_inode); in sel_make_swapover_dir() 1865 fsi->bool_dir = sel_make_dir(sb->s_root, BOOL_DIR_NAME, &fsi->last_ino); in sel_fill_super() 1884 ret = sel_attach_file(sb->s_root, NULL_FILE_NAME, inode); in sel_fill_super() 1888 dentry = sel_make_dir(sb->s_root, "avc", &fsi->last_ino); in sel_fill_super() 1898 dentry = sel_make_dir(sb->s_root, "ss", &fsi->last_ino); in sel_fill_super() 1908 dentry = sel_make_dir(sb->s_root, "initial_contexts", &fsi->last_ino); in sel_fill_super() 1918 fsi->class_dir = sel_make_dir(sb->s_root, CLASS_DIR_NAME, &fsi->last_ino); in sel_fill_super() 1925 dentry = sel_make_dir(sb->s_root, "policy_capabilities", &fsi->last_ino); in sel_fill_super()
|
| /linux/drivers/misc/ibmasm/ |
| H A D | ibmasmfs.c | 125 sb->s_root = d_make_root(root); in ibmasmfs_fill_super() 126 if (!sb->s_root) in ibmasmfs_fill_super() 588 dir = ibmasmfs_create_dir(sb->s_root, sp->dirname); in ibmasmfs_create_files()
|
| /linux/fs/efs/ |
| H A D | super.c | 311 s->s_root = d_make_root(root); in efs_fill_super() 312 if (!(s->s_root)) { in efs_fill_super()
|
| /linux/fs/fuse/ |
| H A D | inode.c | 519 if (inode != d_inode(sb->s_root)) { in fuse_iget() 753 if (!sb->s_root) in fuse_sync_fs() 766 args.nodeid = get_node_id(sb->s_root->d_inode); in fuse_sync_fs() 1808 sb->s_root = d_make_root(root); in fuse_fill_super_submount() 1809 if (!sb->s_root) in fuse_fill_super_submount() 1861 fsc->root = dget(sb->s_root); in fuse_get_tree_submount() 1955 sb->s_root = root_dentry; in fuse_fill_super_common() 2053 fsc->root = dget(sb->s_root); in fuse_get_tree() 2136 if (sb->s_root) { in fuse_sb_destroy()
|
| /linux/fs/proc/ |
| H A D | root.c | 286 s->s_root = d_make_root(root_inode); in proc_fill_super() 287 if (!s->s_root) { in proc_fill_super()
|
| /linux/fs/configfs/ |
| H A D | mount.c | 94 sb->s_root = root; in configfs_fill_super()
|
| /linux/fs/openpromfs/ |
| H A D | inode.c | 398 s->s_root = d_make_root(root_inode); in openprom_fill_super() 399 if (!s->s_root) in openprom_fill_super()
|