Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/fs/nfs/
H A Dgetroot.c42 if (sb->s_root == NULL) { in nfs_superblock_set_dummy_root()
43 sb->s_root = d_make_root(inode); in nfs_superblock_set_dummy_root()
44 if (sb->s_root == NULL) in nfs_superblock_set_dummy_root()
55 spin_lock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
56 spin_lock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
57 hlist_del_init(&sb->s_root->d_u.d_alias); in nfs_superblock_set_dummy_root()
58 spin_unlock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
59 spin_unlock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
/OK3568_Linux_fs/kernel/fs/
H A Dsuper.c420 sb->s_root && (sb->s_flags & SB_BORN)) in trylock_super()
446 if (sb->s_root) { in generic_shutdown_super()
694 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers()
728 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers_type()
764 if (sb->s_root && (sb->s_flags & SB_BORN)) in __get_super()
885 if (sb->s_root && (sb->s_flags & SB_BORN)) in user_get_super()
934 if (!sb->s_root) in reconfigure_super()
994 if (sb->s_root && sb->s_bdev && (sb->s_flags & SB_BORN) && in do_emergency_remount_callback()
998 fc = fs_context_for_reconfigure(sb->s_root, in do_emergency_remount_callback()
1030 if (sb->s_root && sb->s_flags & SB_BORN) { in do_thaw_all_callback()
[all …]
/OK3568_Linux_fs/kernel/arch/s390/hypfs/
H A 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()
273 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
328 if (sb->s_root) in hypfs_kill_super()
329 hypfs_delete_tree(sb->s_root); in hypfs_kill_super()
/OK3568_Linux_fs/kernel/fs/devpts/
H A Dinode.c144 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path()
328 struct dentry *root = sb->s_root; in mknod_ptmx()
478 s->s_root = d_make_root(inode); in devpts_fill_super()
479 if (!s->s_root) { in devpts_fill_super()
490 dput(s->s_root); in devpts_fill_super()
491 s->s_root = NULL; in devpts_fill_super()
571 root = sb->s_root; in devpts_pty_new()
/OK3568_Linux_fs/kernel/fs/autofs/
H A Dinode.c64 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options()
338 s->s_root = root; in autofs_fill_super()
368 if (sb->s_root) { in autofs_get_inode()
369 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode()
370 inode->i_gid = d_inode(sb->s_root)->i_gid; in autofs_get_inode()
/OK3568_Linux_fs/kernel/fs/kernfs/
H A Dmount.c203 dentry = dget(sb->s_root); in kernfs_node_dentry()
272 sb->s_root = root; in kernfs_fill_super()
335 if (!sb->s_root) { in kernfs_get_tree()
352 fc->root = dget(sb->s_root); in kernfs_get_tree()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dself.c38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_self()
44 self = d_alloc_name(s->s_root, "self"); in proc_setup_self()
H A Dthread_self.c38 struct inode *root_inode = d_inode(s->s_root); in proc_setup_thread_self()
44 thread_self = d_alloc_name(s->s_root, "thread-self"); in proc_setup_thread_self()
/OK3568_Linux_fs/kernel/fs/9p/
H A Dfid.c131 fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid()
147 v9fs_fid_add(dentry->d_sb->s_root, fid); in v9fs_fid_lookup_with_uid()
150 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
/OK3568_Linux_fs/kernel/drivers/oprofile/
H A Doprofilefs.c257 sb->s_root = d_make_root(root_inode); in oprofilefs_fill_super()
258 if (!sb->s_root) in oprofilefs_fill_super()
261 oprofile_create_files(sb->s_root); in oprofilefs_fill_super()
/OK3568_Linux_fs/kernel/fs/qnx6/
H A Dinode.c184 struct inode *root = d_inode(s->s_root); in qnx6_checkroot()
452 s->s_root = d_make_root(root); in qnx6_fill_super()
453 if (!s->s_root) in qnx6_fill_super()
466 dput(s->s_root); in qnx6_fill_super()
467 s->s_root = NULL; in qnx6_fill_super()
/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinderfs.c177 root = sb->s_root; in binderfs_binder_device_create()
400 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create()
591 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs()
678 sb->s_root = d_make_root(inode); in binderfs_fill_super()
679 if (!sb->s_root) in binderfs_fill_super()
/OK3568_Linux_fs/kernel/fs/overlayfs/
H A Dexport.c82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
111 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer()
499 return dget(sb->s_root); in ovl_lookup_real_ancestor()
515 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
582 connected = dget(sb->s_root); in ovl_lookup_real()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdsuper.c69 if (sb->s_root) { in mtd_get_sb()
87 fc->root = dget(sb->s_root); in mtd_get_sb()
/OK3568_Linux_fs/kernel/fs/afs/
H A Ddynroot.c286 root = sb->s_root; in afs_dynroot_mkdir()
314 root = sb->s_root; in afs_dynroot_rmdir()
372 struct dentry *root = sb->s_root, *subdir, *tmp; in afs_dynroot_depopulate()
H A Dsuper.c481 sb->s_root = d_make_root(inode); in afs_fill_super()
482 if (!sb->s_root) in afs_fill_super()
584 if (!sb->s_root) { in afs_get_tree()
596 fc->root = dget(sb->s_root); in afs_get_tree()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dsuper.c1741 inode = d_inode(s->s_root); in find_hash_out()
2093 s->s_root = d_make_root(root_inode); in reiserfs_fill_super()
2094 if (!s->s_root) in reiserfs_fill_super()
2099 dput(s->s_root); in reiserfs_fill_super()
2100 s->s_root = NULL; in reiserfs_fill_super()
2116 dput(s->s_root); in reiserfs_fill_super()
2117 s->s_root = NULL; in reiserfs_fill_super()
2178 dput(s->s_root); in reiserfs_fill_super()
2179 s->s_root = NULL; in reiserfs_fill_super()
2186 dput(s->s_root); in reiserfs_fill_super()
[all …]
H A Dxattr.c978 inode_lock(d_inode(s->s_root)); in reiserfs_lookup_privroot()
979 dentry = lookup_one_len(PRIVROOT_NAME, s->s_root, in reiserfs_lookup_privroot()
990 inode_unlock(d_inode(s->s_root)); in reiserfs_lookup_privroot()
1010 inode_lock(d_inode(s->s_root)); in reiserfs_xattr_init()
1012 inode_unlock(d_inode(s->s_root)); in reiserfs_xattr_init()
/OK3568_Linux_fs/kernel/fs/bfs/
H A Dinode.c368 s->s_root = d_make_root(inode); in bfs_fill_super()
369 if (!s->s_root) { in bfs_fill_super()
442 dput(s->s_root); in bfs_fill_super()
443 s->s_root = NULL; in bfs_fill_super()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Drealpath.c180 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path()
264 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dmain.c582 s->s_root = d_make_root(inode); in ecryptfs_mount()
583 if (!s->s_root) { in ecryptfs_mount()
594 ecryptfs_set_dentry_private(s->s_root, root_info); in ecryptfs_mount()
598 return dget(s->s_root); in ecryptfs_mount()
/OK3568_Linux_fs/kernel/fs/ramfs/
H A Dinode.c230 sb->s_root = d_make_root(inode); in ramfs_fill_super()
231 if (!sb->s_root) in ramfs_fill_super()
/OK3568_Linux_fs/kernel/fs/efivarfs/
H A Dsuper.c112 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback()
216 sb->s_root = root; in efivarfs_fill_super()
/OK3568_Linux_fs/kernel/fs/pstore/
H A Dinode.c318 root = pstore_sb->s_root; in psinfo_lock_root()
462 sb->s_root = d_make_root(inode); in pstore_fill_super()
463 if (!sb->s_root) in pstore_fill_super()
/OK3568_Linux_fs/kernel/fs/freevxfs/
H A Dvxfs_super.c289 sbp->s_root = d_make_root(root); in vxfs_fill_super()
290 if (!sbp->s_root) { in vxfs_fill_super()

12345