Home
last modified time | relevance | path

Searched refs:s_root (Results 1 – 115 of 115) sorted by relevance

/linux-4.4.14/fs/nfs/
Dgetroot.c46 if (sb->s_root == NULL) { in nfs_superblock_set_dummy_root()
47 sb->s_root = d_make_root(inode); in nfs_superblock_set_dummy_root()
48 if (sb->s_root == NULL) in nfs_superblock_set_dummy_root()
59 spin_lock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
60 spin_lock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
61 hlist_del_init(&sb->s_root->d_u.d_alias); in nfs_superblock_set_dummy_root()
62 spin_unlock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
63 spin_unlock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
Dnfs4client.c1129 struct inode *inode = d_inode(server->super->s_root); in nfs_probe_destination()
Dnfs4state.c1908 inode = d_inode(server->super->s_root); in nfs4_try_migration()
2027 inode = d_inode(server->super->s_root); in nfs4_handle_lease_moved()
Dsuper.c2580 if (!s->s_root) { in nfs_fs_mount_common()
/linux-4.4.14/fs/kernfs/
Dmount.c95 sb->s_root = root; in kernfs_fill_super()
168 *new_sb_created = !sb->s_root; in kernfs_mount_ns()
170 if (!sb->s_root) { in kernfs_mount_ns()
185 return dget(sb->s_root); in kernfs_mount_ns()
199 struct kernfs_node *root_kn = sb->s_root->d_fsdata; in kernfs_kill_sb()
/linux-4.4.14/fs/
Dsuper.c386 sb->s_root && (sb->s_flags & MS_BORN)) in trylock_super()
412 if (sb->s_root) { in generic_shutdown_super()
534 if (sb->s_root && (sb->s_flags & MS_BORN)) in iterate_supers()
568 if (sb->s_root && (sb->s_flags & MS_BORN)) in iterate_supers_type()
609 if (sb->s_root && (sb->s_flags & MS_BORN)) in get_super()
692 if (sb->s_root && (sb->s_flags & MS_BORN)) in user_get_super()
734 if (!sb->s_root) in do_remount_sb()
799 if (sb->s_root && sb->s_bdev && (sb->s_flags & MS_BORN) && in do_emergency_remount()
903 if (sb->s_root) in kill_litter_super()
904 d_genocide(sb->s_root); in kill_litter_super()
[all …]
Dbinfmt_misc.c640 root = dget(file->f_path.dentry->d_sb->s_root); in bm_entry_write()
677 root = dget(sb->s_root); in bm_register_write()
756 root = dget(file->f_path.dentry->d_sb->s_root); in bm_status_write()
Dlibfs.c247 s->s_root = dentry; in mount_pseudo()
250 return dget(s->s_root); in mount_pseudo()
526 s->s_root = root; in simple_fill_super()
Dstatfs.c223 err = statfs_by_dentry(s->s_root, sbuf); in vfs_ustat()
Ddcache.c1446 dentry = sb->s_root; in shrink_dcache_for_umount()
1447 sb->s_root = NULL; in shrink_dcache_for_umount()
Dnamespace.c3229 if (mnt->mnt.mnt_root != mnt->mnt.mnt_sb->s_root) in fs_fully_visible()
Dnamei.c575 if (mnt->mnt_root == mnt->mnt_sb->s_root) in path_connected()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c184 hypfs_delete_tree(sb->s_root); in hypfs_write_iter()
186 rc = hypfs_vm_create_files(sb->s_root); in hypfs_write_iter()
188 rc = hypfs_diag_create_files(sb->s_root); in hypfs_write_iter()
191 hypfs_delete_tree(sb->s_root); in hypfs_write_iter()
292 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
319 if (sb->s_root) in hypfs_kill_super()
320 hypfs_delete_tree(sb->s_root); in hypfs_kill_super()
/linux-4.4.14/fs/autofs4/
Dinode.c74 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs4_show_options()
324 s->s_root = root; in autofs4_fill_super()
354 if (sb->s_root) { in autofs4_get_inode()
355 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs4_get_inode()
356 inode->i_gid = d_inode(sb->s_root)->i_gid; in autofs4_get_inode()
Dexpire.c302 struct dentry *root = dget(sb->s_root); in autofs4_expire_direct()
432 struct dentry *root = sb->s_root; in autofs4_expire_indirect()
Dautofs_i.h238 return d_inode(sbi->sb->s_root)->i_ino; in autofs4_get_ino()
Dwaitq.c183 struct dentry *root = sbi->sb->s_root; in autofs4_getpath()
/linux-4.4.14/drivers/mtd/
Dmtdsuper.c71 if (sb->s_root) in mount_mtd_aux()
86 return dget(sb->s_root); in mount_mtd_aux()
93 return dget(sb->s_root); in mount_mtd_aux()
/linux-4.4.14/fs/devpts/
Dinode.c247 struct dentry *root = sb->s_root; in mknod_ptmx()
401 s->s_root = d_make_root(inode); in devpts_fill_super()
402 if (s->s_root) in devpts_fill_super()
472 if (!s->s_root) { in devpts_mount()
485 return dget(s->s_root); in devpts_mount()
621 root = sb->s_root; in devpts_pty_new()
689 struct dentry *root = sb->s_root; in devpts_pty_kill()
/linux-4.4.14/fs/proc/
Dself.c47 struct inode *root_inode = d_inode(s->s_root); in proc_setup_self()
52 self = d_alloc_name(s->s_root, "self"); in proc_setup_self()
Dthread_self.c48 struct inode *root_inode = d_inode(s->s_root); in proc_setup_thread_self()
53 thread_self = d_alloc_name(s->s_root, "thread-self"); in proc_setup_thread_self()
Droot.c136 if (!sb->s_root) { in proc_mount()
148 return dget(sb->s_root); in proc_mount()
Dinode.c477 s->s_root = d_make_root(root_inode); in proc_fill_super()
478 if (!s->s_root) { in proc_fill_super()
/linux-4.4.14/fs/9p/
Dfid.c146 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
162 v9fs_fid_add(dentry->d_sb->s_root, fid); in v9fs_fid_lookup_with_uid()
165 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
Dvfs_super.c159 sb->s_root = root; in v9fs_mount()
190 return dget(sb->s_root); in v9fs_mount()
/linux-4.4.14/drivers/oprofile/
Doprofilefs.c253 sb->s_root = d_make_root(root_inode); in oprofilefs_fill_super()
254 if (!sb->s_root) in oprofilefs_fill_super()
257 oprofile_create_files(sb->s_root); in oprofilefs_fill_super()
/linux-4.4.14/fs/afs/
Dsuper.c337 sb->s_root = d_make_root(inode); in afs_fill_super()
338 if (!sb->s_root) in afs_fill_super()
418 if (!sb->s_root) { in afs_mount()
438 return dget(sb->s_root); in afs_mount()
/linux-4.4.14/fs/freevxfs/
Dvxfs_super.c227 sbp->s_root = d_make_root(root); in vxfs_fill_super()
228 if (!sbp->s_root) { in vxfs_fill_super()
/linux-4.4.14/fs/reiserfs/
Dsuper.c1692 inode = d_inode(s->s_root); in find_hash_out()
2033 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
2034 if (!s->s_root) in reiserfs_fill_super()
2039 dput(s->s_root); in reiserfs_fill_super()
2040 s->s_root = NULL; in reiserfs_fill_super()
2056 dput(s->s_root); in reiserfs_fill_super()
2057 s->s_root = NULL; in reiserfs_fill_super()
2118 dput(s->s_root); in reiserfs_fill_super()
2119 s->s_root = NULL; in reiserfs_fill_super()
2126 dput(s->s_root); in reiserfs_fill_super()
[all …]
Dxattr.c1000 mutex_lock(&d_inode(s->s_root)->i_mutex); in reiserfs_lookup_privroot()
1001 dentry = lookup_one_len(PRIVROOT_NAME, s->s_root, in reiserfs_lookup_privroot()
1010 mutex_unlock(&d_inode(s->s_root)->i_mutex); in reiserfs_lookup_privroot()
1030 mutex_lock(&d_inode(s->s_root)->i_mutex); in reiserfs_xattr_init()
1032 mutex_unlock(&d_inode(s->s_root)->i_mutex); in reiserfs_xattr_init()
/linux-4.4.14/fs/ramfs/
Dinode.c232 sb->s_root = d_make_root(inode); in ramfs_fill_super()
233 if (!sb->s_root) in ramfs_fill_super()
/linux-4.4.14/fs/logfs/
Dsuper.c318 sb->s_root = d_make_root(rootdir); in logfs_get_sb_final()
319 if (!sb->s_root) in logfs_get_sb_final()
529 if (sb->s_root) { in logfs_get_sb_device()
533 return dget(sb->s_root); in logfs_get_sb_device()
556 return dget(sb->s_root); in logfs_get_sb_device()
/linux-4.4.14/fs/qnx6/
Dinode.c185 struct inode *root = d_inode(s->s_root); in qnx6_checkroot()
451 s->s_root = d_make_root(root); in qnx6_fill_super()
452 if (!s->s_root) in qnx6_fill_super()
465 dput(s->s_root); in qnx6_fill_super()
466 s->s_root = NULL; in qnx6_fill_super()
/linux-4.4.14/fs/bfs/
Dinode.c374 s->s_root = d_make_root(inode); in bfs_fill_super()
375 if (!s->s_root) { in bfs_fill_super()
449 dput(s->s_root); in bfs_fill_super()
450 s->s_root = NULL; in bfs_fill_super()
/linux-4.4.14/security/tomoyo/
Drealpath.c171 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path()
280 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
/linux-4.4.14/fs/efivarfs/
Dsuper.c118 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback()
213 sb->s_root = root; in efivarfs_fill_super()
/linux-4.4.14/fs/pstore/
Dinode.c305 struct dentry *root = pstore_sb->s_root; in pstore_mkfile()
438 sb->s_root = d_make_root(inode); in pstore_fill_super()
439 if (!sb->s_root) in pstore_fill_super()
/linux-4.4.14/fs/exofs/
Dsuper.c823 sb->s_root = d_make_root(root); in exofs_fill_super()
824 if (!sb->s_root) { in exofs_fill_super()
831 dput(sb->s_root); in exofs_fill_super()
832 sb->s_root = NULL; in exofs_fill_super()
842 dput(sb->s_root); in exofs_fill_super()
843 sb->s_root = NULL; in exofs_fill_super()
/linux-4.4.14/fs/ecryptfs/
Dmain.c592 s->s_root = d_make_root(inode); in ecryptfs_mount()
593 if (!s->s_root) { in ecryptfs_mount()
604 ecryptfs_set_dentry_private(s->s_root, root_info); in ecryptfs_mount()
608 return dget(s->s_root); in ecryptfs_mount()
/linux-4.4.14/fs/coda/
Dinode.c222 sb->s_root = d_make_root(root); in coda_fill_super()
223 if (!sb->s_root) { in coda_fill_super()
Dupcall.c816 if (!sb || !sb->s_root) in coda_downcall()
823 if (d_really_is_positive(sb->s_root)) in coda_downcall()
824 coda_flag_inode(d_inode(sb->s_root), C_FLUSH); in coda_downcall()
/linux-4.4.14/fs/ceph/
Dsuper.c763 fsc->sb->s_root == NULL) { in open_root_dentry()
809 if (fsc->sb->s_root) { in ceph_real_mount()
812 fsc->sb->s_root = root; in ceph_real_mount()
842 dput(fsc->sb->s_root); in ceph_real_mount()
843 fsc->sb->s_root = NULL; in ceph_real_mount()
Dmds_client.c2954 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
2955 shrink_dcache_parent(mdsc->fsc->sb->s_root); in send_mds_reconnect()
/linux-4.4.14/fs/hfsplus/
Dsuper.c508 sb->s_root = d_make_root(root); in hfsplus_fill_super()
509 if (!sb->s_root) { in hfsplus_fill_super()
590 dput(sb->s_root); in hfsplus_fill_super()
591 sb->s_root = NULL; in hfsplus_fill_super()
Ddir.c84 HFSPLUS_I(d_inode(sb->s_root))-> in hfsplus_lookup()
/linux-4.4.14/fs/efs/
Dsuper.c323 s->s_root = d_make_root(root); in efs_fill_super()
324 if (!(s->s_root)) { in efs_fill_super()
/linux-4.4.14/drivers/misc/ibmasm/
Dibmasmfs.c132 sb->s_root = d_make_root(root); in ibmasmfs_fill_super()
133 if (!sb->s_root) in ibmasmfs_fill_super()
613 dir = ibmasmfs_create_dir(sb->s_root, sp->dirname); in ibmasmfs_create_files()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_fs.c233 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, in create_device_files()
297 root = dget(sb->s_root); in remove_device_files()
/linux-4.4.14/fs/fuse/
Dcontrol.c246 parent = fuse_control_sb->s_root; in fuse_ctl_add_conn()
290 drop_nlink(d_inode(fuse_control_sb->s_root)); in fuse_ctl_remove_conn()
Dinode.c1136 sb->s_root = root_dentry; in fuse_fill_super()
/linux-4.4.14/fs/nilfs2/
Dsuper.c1078 sb->s_root = NULL; in nilfs_fill_super()
1102 err = nilfs_get_root_dentry(sb, fsroot, &sb->s_root); in nilfs_fill_super()
1196 root = NILFS_I(d_inode(sb->s_root))->i_root; in nilfs_remount()
1318 if (!s->s_root) { in nilfs_mount()
1334 if (nilfs_tree_is_busy(s->s_root)) { in nilfs_mount()
1359 root_dentry = dget(s->s_root); in nilfs_mount()
/linux-4.4.14/fs/configfs/
Dmount.c100 sb->s_root = root; in configfs_fill_super()
Ddir.c1801 struct dentry *root = dentry->d_sb->s_root; in configfs_unregister_subsystem()
/linux-4.4.14/fs/gfs2/
Dops_fstype.c518 sb->s_root = dget(sdp->sd_args.ar_meta ? sdp->sd_master_dir : sdp->sd_root_dir); in init_sb()
1197 if (sb->s_root) in fill_super()
1198 dput(sb->s_root); in fill_super()
1199 sb->s_root = NULL; in fill_super()
1283 if (s->s_root) { in gfs2_mount()
1313 if (s->s_root) { in gfs2_mount()
Dexport.c52 if (!parent || inode == d_inode(sb->s_root)) in gfs2_encode_fh()
Dinode.c298 dir == d_inode(sb->s_root))) { in gfs2_lookupi()
1285 if (dir == d_inode(sb->s_root)) { in gfs2_ok_to_move()
/linux-4.4.14/fs/qnx4/
Dinode.c229 s->s_root = d_make_root(root); in qnx4_fill_super()
230 if (s->s_root == NULL) in qnx4_fill_super()
/linux-4.4.14/fs/openpromfs/
Dinode.c405 s->s_root = d_make_root(root_inode); in openprom_fill_super()
406 if (!s->s_root) in openprom_fill_super()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dinode.c576 if (path->dentry != path->dentry->d_sb->s_root) in spufs_create()
705 sb->s_root = d_make_root(inode); in spufs_create_root()
706 if (!sb->s_root) in spufs_create_root()
/linux-4.4.14/fs/squashfs/
Dsuper.c326 sb->s_root = d_make_root(root); in squashfs_fill_super()
327 if (sb->s_root == NULL) { in squashfs_fill_super()
/linux-4.4.14/fs/hfs/
Dsuper.c445 sb->s_root = d_make_root(root_inode); in hfs_fill_super()
446 if (!sb->s_root) in hfs_fill_super()
/linux-4.4.14/fs/cifs/
Dcifsfs.c153 sb->s_root = d_make_root(inode); in cifs_read_super()
154 if (!sb->s_root) { in cifs_read_super()
615 dentry = dget(sb->s_root); in cifs_get_root()
714 if (sb->s_root) { in cifs_do_mount()
/linux-4.4.14/fs/f2fs/
Dsuper.c1290 sb->s_root = d_make_root(root); /* allocate root dentry */ in f2fs_fill_super()
1291 if (!sb->s_root) { in f2fs_fill_super()
1371 dput(sb->s_root); in f2fs_fill_super()
1372 sb->s_root = NULL; in f2fs_fill_super()
1411 if (sb->s_root) in kill_f2fs_super()
/linux-4.4.14/security/selinux/
Dselinuxfs.c1768 bool_dir = sel_make_dir(sb->s_root, BOOL_DIR_NAME, &sel_last_ino); in sel_fill_super()
1776 dentry = d_alloc_name(sb->s_root, NULL_FILE_NAME); in sel_fill_super()
1795 dentry = sel_make_dir(sb->s_root, "avc", &sel_last_ino); in sel_fill_super()
1805 dentry = sel_make_dir(sb->s_root, "initial_contexts", &sel_last_ino); in sel_fill_super()
1815 class_dir = sel_make_dir(sb->s_root, "class", &sel_last_ino); in sel_fill_super()
1822 policycap_dir = sel_make_dir(sb->s_root, "policy_capabilities", &sel_last_ino); in sel_fill_super()
Dhooks.c429 struct dentry *root = sb->s_root; in sb_finish_set_opts()
568 struct inode *root = d_backing_inode(sbsec->sb->s_root); in selinux_get_mnt_opts()
624 struct inode *inode = d_backing_inode(sbsec->sb->s_root); in selinux_set_mnt_opts()
855 struct inode_security_struct *oldroot = d_backing_inode(oldsb->s_root)->i_security; in selinux_cmp_sb_context()
856 struct inode_security_struct *newroot = d_backing_inode(newsb->s_root)->i_security; in selinux_cmp_sb_context()
906 struct inode *newinode = d_backing_inode(newsb->s_root); in selinux_sb_clone_mnt_opts()
913 const struct inode *oldinode = d_backing_inode(oldsb->s_root); in selinux_sb_clone_mnt_opts()
915 struct inode *newinode = d_backing_inode(newsb->s_root); in selinux_sb_clone_mnt_opts()
2642 root_isec = d_backing_inode(sb->s_root)->i_security; in selinux_sb_remount()
2685 ad.u.dentry = sb->s_root; in selinux_sb_kern_mount()
[all …]
/linux-4.4.14/fs/ocfs2/dlmfs/
Ddlmfs.c578 sb->s_root = d_make_root(dlmfs_get_root_inode(sb)); in dlmfs_fill_super()
579 if (!sb->s_root) in dlmfs_fill_super()
/linux-4.4.14/fs/romfs/
Dsuper.c538 sb->s_root = d_make_root(root); in romfs_fill_super()
539 if (!sb->s_root) in romfs_fill_super()
/linux-4.4.14/fs/cramfs/
Dinode.c343 sb->s_root = d_make_root(root); in cramfs_fill_super()
344 if (!sb->s_root) in cramfs_fill_super()
/linux-4.4.14/fs/adfs/
Dsuper.c504 sb->s_root = d_make_root(root); in adfs_fill_super()
505 if (!sb->s_root) { in adfs_fill_super()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_fs.c383 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, in add_cntr_files()
483 root = dget(sb->s_root); in remove_device_files()
/linux-4.4.14/fs/omfs/
Dinode.c552 sb->s_root = d_make_root(root); in omfs_fill_super()
553 if (!sb->s_root) { in omfs_fill_super()
/linux-4.4.14/fs/affs/
Dsuper.c504 sb->s_root = d_make_root(root_inode); in affs_fill_super()
505 if (!sb->s_root) { in affs_fill_super()
/linux-4.4.14/fs/sysv/
Dsuper.c344 sb->s_root = d_make_root(root_inode); in complete_read_super()
345 if (!sb->s_root) { in complete_read_super()
/linux-4.4.14/fs/ncpfs/
Dinode.c722 sb->s_root = d_make_root(root_inode); in ncp_fill_super()
723 if (!sb->s_root) in ncp_fill_super()
811 d = sb->s_root; in ncp_statfs()
Dioctl.c376 struct dentry* dentry = inode->i_sb->s_root; in __ncp_ioctl()
432 dentry = inode->i_sb->s_root; in __ncp_ioctl()
Ddir.c320 if (dentry == dentry->d_sb->s_root) in ncp_lookup_validate()
808 dent = sb->s_root; in ncp_conn_logged_in()
/linux-4.4.14/fs/hpfs/
Dsuper.c720 s->s_root = d_make_root(root); in hpfs_fill_super()
721 if (!s->s_root) in hpfs_fill_super()
/linux-4.4.14/kernel/bpf/
Dinode.c350 inode = sb->s_root->d_inode; in bpf_fill_super()
/linux-4.4.14/fs/befs/
Dlinuxvfs.c840 sb->s_root = d_make_root(root); in befs_fill_super()
841 if (!sb->s_root) { in befs_fill_super()
/linux-4.4.14/fs/minix/
Dinode.c292 s->s_root = d_make_root(root_inode); in minix_fill_super()
293 if (!s->s_root) in minix_fill_super()
/linux-4.4.14/fs/jffs2/
Dfs.c584 sb->s_root = d_make_root(root_i); in jffs2_do_fill_super()
585 if (!sb->s_root) in jffs2_do_fill_super()
/linux-4.4.14/fs/jfs/
Dsuper.c588 sb->s_root = d_make_root(inode); in jfs_fill_super()
589 if (!sb->s_root) in jfs_fill_super()
/linux-4.4.14/fs/btrfs/
Dsuper.c1059 sb->s_root = d_make_root(inode); in btrfs_fill_super()
1060 if (!sb->s_root) { in btrfs_fill_super()
1511 if (s->s_root) { in btrfs_mount()
1536 return dget(s->s_root); in btrfs_mount()
/linux-4.4.14/fs/exportfs/
Dexpfs.c212 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path()
/linux-4.4.14/fs/hostfs/
Dhostfs_kern.c972 sb->s_root = d_make_root(root_inode); in hostfs_fill_sb_common()
973 if (sb->s_root == NULL) in hostfs_fill_sb_common()
/linux-4.4.14/fs/ubifs/
Dsuper.c2058 sb->s_root = d_make_root(root); in ubifs_fill_super()
2059 if (!sb->s_root) { in ubifs_fill_super()
2130 if (sb->s_root) { in ubifs_mount()
2155 return dget(sb->s_root); in ubifs_mount()
/linux-4.4.14/fs/overlayfs/
Dsuper.c603 struct dentry *root_dentry = dentry->d_sb->s_root; in ovl_statfs()
1099 sb->s_root = root_dentry; in ovl_fill_super()
/linux-4.4.14/fs/tracefs/
Dinode.c216 struct inode *inode = sb->s_root->d_inode; in tracefs_apply_options()
/linux-4.4.14/fs/debugfs/
Dinode.c122 struct inode *inode = d_inode(sb->s_root); in debugfs_apply_options()
/linux-4.4.14/fs/ext2/
Dialloc.c281 if ((parent == d_inode(sb->s_root)) || in find_group_orlov()
Dsuper.c1131 sb->s_root = d_make_root(root); in ext2_fill_super()
1132 if (!sb->s_root) { in ext2_fill_super()
/linux-4.4.14/fs/nfsd/
Dnfsfh.c424 return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root; in is_root_export()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c1186 sb->s_root = d_make_root(hugetlbfs_get_root(sb, &config)); in hugetlbfs_fill_super()
1187 if (!sb->s_root) in hugetlbfs_fill_super()
/linux-4.4.14/fs/isofs/
Dinode.c916 s->s_root = d_make_root(inode); in isofs_fill_super()
917 if (!(s->s_root)) { in isofs_fill_super()
/linux-4.4.14/fs/ext4/
Dmigrate.c477 tmp_inode = ext4_new_inode(handle, d_inode(inode->i_sb->s_root), in ext4_ext_migrate()
Dsuper.c3665 sb->s_root = NULL; in ext4_fill_super()
3824 sb->s_root = d_make_root(root); in ext4_fill_super()
3825 if (!sb->s_root) { in ext4_fill_super()
3986 dput(sb->s_root); in ext4_fill_super()
3987 sb->s_root = NULL; in ext4_fill_super()
4920 handle = ext4_journal_start(d_inode(sb->s_root), EXT4_HT_QUOTA, 2); in ext4_write_info()
4971 if (path->dentry->d_parent != sb->s_root) in ext4_quota_on()
Dialloc.c478 ((parent == d_inode(sb->s_root)) || in find_group_orlov()
/linux-4.4.14/ipc/
Dmqueue.c319 sb->s_root = d_make_root(inode); in mqueue_fill_super()
320 if (!sb->s_root) in mqueue_fill_super()
/linux-4.4.14/net/sunrpc/
Drpc_pipe.c1210 return d_hash_and_lookup(sb->s_root, &dir); in rpc_d_lookup_sb()
1401 sb->s_root = root = d_make_root(inode); in rpc_fill_super()
/linux-4.4.14/fs/xfs/
Dxfs_super.c1554 sb->s_root = d_make_root(root); in xfs_fs_fill_super()
1555 if (!sb->s_root) { in xfs_fs_fill_super()
/linux-4.4.14/fs/quota/
Ddquot.c2432 mutex_lock(&d_inode(sb->s_root)->i_mutex); in dquot_quota_on_mount()
2433 dentry = lookup_one_len(qf_name, sb->s_root, strlen(qf_name)); in dquot_quota_on_mount()
2434 mutex_unlock(&d_inode(sb->s_root)->i_mutex); in dquot_quota_on_mount()
/linux-4.4.14/fs/ufs/
Dsuper.c1222 sb->s_root = d_make_root(inode); in ufs_fill_super()
1223 if (!sb->s_root) { in ufs_fill_super()
/linux-4.4.14/fs/fat/
Dinode.c1739 sb->s_root = d_make_root(root_inode); in fat_fill_super()
1740 if (!sb->s_root) { in fat_fill_super()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dinode.c1944 dentry = d_alloc_name(sb->s_root, name); in gadgetfs_create_file()
1992 if (!(sb->s_root = d_make_root (inode))) in gadgetfs_fill_super()
/linux-4.4.14/drivers/usb/gadget/function/
Df_fs.c1121 dentry = d_alloc_name(sb->s_root, name); in ffs_sb_create_file()
1172 sb->s_root = d_make_root(inode); in ffs_sb_fill()
1173 if (unlikely(!sb->s_root)) in ffs_sb_fill()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c265 inode->i_sb->s_root != NULL && in ll_md_blocking_ast()
Dllite_lib.c534 sb->s_root = d_make_root(root); in client_common_fill_super()
535 if (sb->s_root == NULL) { in client_common_fill_super()
Dfile.c3079 rc = __ll_inode_revalidate(inode->i_sb->s_root, in ll_inode_permission()
/linux-4.4.14/fs/udf/
Dsuper.c2237 sb->s_root = d_make_root(inode); in udf_fill_super()
2238 if (!sb->s_root) { in udf_fill_super()
/linux-4.4.14/include/linux/
Dfs.h1300 struct dentry *s_root; member
2997 return inode == inode->i_sb->s_root->d_inode; in is_root_inode()
/linux-4.4.14/mm/
Dshmem.c3060 sb->s_root = d_make_root(inode); in shmem_fill_super()
3061 if (!sb->s_root) in shmem_fill_super()
/linux-4.4.14/security/smack/
Dsmackfs.c2970 root_inode = d_inode(sb->s_root); in smk_fill_super()
Dsmack_lsm.c760 struct dentry *root = sb->s_root; in smack_set_mnt_opts()
/linux-4.4.14/fs/ocfs2/
Dsuper.c1165 sb->s_root = root; in ocfs2_fill_super()
/linux-4.4.14/fs/ntfs/
Dsuper.c2918 if ((sb->s_root = d_make_root(vol->root_ino))) { in ntfs_fill_super()