Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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()
/Linux-v4.19/fs/
Dsuper.c414 sb->s_root && (sb->s_flags & SB_BORN)) in trylock_super()
440 if (sb->s_root) { in generic_shutdown_super()
632 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers()
666 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers_type()
702 if (sb->s_root && (sb->s_flags & SB_BORN)) in __get_super()
823 if (sb->s_root && (sb->s_flags & SB_BORN)) in user_get_super()
865 if (!sb->s_root) in do_remount_sb()
922 if (sb->s_root && sb->s_bdev && (sb->s_flags & SB_BORN) && in do_emergency_remount_callback()
953 if (sb->s_root && sb->s_flags & SB_BORN) { in do_thaw_all_callback()
1039 if (sb->s_root) in kill_litter_super()
[all …]
/Linux-v4.19/arch/s390/hypfs/
Dinode.c186 hypfs_delete_tree(sb->s_root); in hypfs_write_iter()
188 rc = hypfs_vm_create_files(sb->s_root); in hypfs_write_iter()
190 rc = hypfs_diag_create_files(sb->s_root); in hypfs_write_iter()
193 hypfs_delete_tree(sb->s_root); in hypfs_write_iter()
294 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
321 if (sb->s_root) in hypfs_kill_super()
322 hypfs_delete_tree(sb->s_root); in hypfs_kill_super()
/Linux-v4.19/fs/devpts/
Dinode.c147 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path()
331 struct dentry *root = sb->s_root; in mknod_ptmx()
480 s->s_root = d_make_root(inode); in devpts_fill_super()
481 if (!s->s_root) { in devpts_fill_super()
492 dput(s->s_root); in devpts_fill_super()
493 s->s_root = NULL; in devpts_fill_super()
573 root = sb->s_root; in devpts_pty_new()
/Linux-v4.19/fs/autofs/
Dinode.c67 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options()
323 s->s_root = root; in autofs_fill_super()
353 if (sb->s_root) { in autofs_get_inode()
354 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode()
355 inode->i_gid = d_inode(sb->s_root)->i_gid; in autofs_get_inode()
/Linux-v4.19/fs/kernfs/
Dmount.c192 dentry = dget(sb->s_root); in kernfs_node_dentry()
254 sb->s_root = root; in kernfs_fill_super()
329 *new_sb_created = !sb->s_root; in kernfs_mount_ns()
331 if (!sb->s_root) { in kernfs_mount_ns()
346 return dget(sb->s_root); in kernfs_mount_ns()
/Linux-v4.19/drivers/mtd/
Dmtdsuper.c75 if (sb->s_root) in mount_mtd_aux()
90 return dget(sb->s_root); in mount_mtd_aux()
97 return dget(sb->s_root); in mount_mtd_aux()
/Linux-v4.19/fs/proc/
Dself.c38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_self()
43 self = d_alloc_name(s->s_root, "self"); in proc_setup_self()
Dthread_self.c38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_thread_self()
43 thread_self = d_alloc_name(s->s_root, "thread-self"); in proc_setup_thread_self()
/Linux-v4.19/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()
/Linux-v4.19/drivers/staging/erofs/
Dsuper.c389 sb->s_root = d_make_root(inode); in erofs_read_super()
390 if (sb->s_root == NULL) { in erofs_read_super()
411 d_rehash(sb->s_root); in erofs_read_super()
423 dput(sb->s_root); in erofs_read_super()
426 if (sb->s_root == NULL) in erofs_read_super()
/Linux-v4.19/drivers/oprofile/
Doprofilefs.c256 sb->s_root = d_make_root(root_inode); in oprofilefs_fill_super()
257 if (!sb->s_root) in oprofilefs_fill_super()
260 oprofile_create_files(sb->s_root); in oprofilefs_fill_super()
/Linux-v4.19/fs/afs/
Ddynroot.c204 root = sb->s_root; in afs_dynroot_mkdir()
232 root = sb->s_root; in afs_dynroot_rmdir()
291 struct dentry *root = sb->s_root, *subdir, *tmp; in afs_dynroot_depopulate()
Dsuper.c424 sb->s_root = d_make_root(inode); in afs_fill_super()
425 if (!sb->s_root) in afs_fill_super()
564 if (!sb->s_root) { in afs_mount()
582 return dget(sb->s_root); in afs_mount()
/Linux-v4.19/fs/overlayfs/
Dexport.c85 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
114 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer()
509 return dget(sb->s_root); in ovl_lookup_real_ancestor()
525 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
592 connected = dget(sb->s_root); in ovl_lookup_real()
/Linux-v4.19/fs/reiserfs/
Dsuper.c1746 inode = d_inode(s->s_root); in find_hash_out()
2085 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
2086 if (!s->s_root) in reiserfs_fill_super()
2091 dput(s->s_root); in reiserfs_fill_super()
2092 s->s_root = NULL; in reiserfs_fill_super()
2108 dput(s->s_root); in reiserfs_fill_super()
2109 s->s_root = NULL; in reiserfs_fill_super()
2170 dput(s->s_root); in reiserfs_fill_super()
2171 s->s_root = NULL; in reiserfs_fill_super()
2178 dput(s->s_root); in reiserfs_fill_super()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/security/tomoyo/
Drealpath.c172 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path()
281 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
/Linux-v4.19/fs/efivarfs/
Dsuper.c116 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback()
216 sb->s_root = root; in efivarfs_fill_super()
/Linux-v4.19/fs/ramfs/
Dinode.c243 sb->s_root = d_make_root(inode); in ramfs_fill_super()
244 if (!sb->s_root) in ramfs_fill_super()
/Linux-v4.19/fs/ceph/
Dexport.c82 if (ceph_security_xattr_wanted(d_inode(sb->s_root))) in __fh_to_dentry()
148 if (ceph_security_xattr_wanted(d_inode(sb->s_root))) in __get_parent()
/Linux-v4.19/fs/freevxfs/
Dvxfs_super.c293 sbp->s_root = d_make_root(root); in vxfs_fill_super()
294 if (!sbp->s_root) { in vxfs_fill_super()
/Linux-v4.19/fs/pstore/
Dinode.c428 root = pstore_sb->s_root; in pstore_get_records()
457 sb->s_root = d_make_root(inode); in pstore_fill_super()
458 if (!sb->s_root) in pstore_fill_super()
/Linux-v4.19/fs/ecryptfs/
Dmain.c590 s->s_root = d_make_root(inode); in ecryptfs_mount()
591 if (!s->s_root) { in ecryptfs_mount()
602 ecryptfs_set_dentry_private(s->s_root, root_info); in ecryptfs_mount()
606 return dget(s->s_root); in ecryptfs_mount()

12345