/linux-6.6.21/fs/nfs/ |
D | getroot.c | 42 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()
|
/linux-6.6.21/fs/ |
D | super.c | 608 if (!(sb->s_flags & SB_DYING) && sb->s_root && in super_trylock_shared() 664 if (sb->s_root) { in generic_shutdown_super() 967 if (born && sb->s_root) in iterate_supers() 1003 if (born && sb->s_root) in iterate_supers_type() 1060 if (born && sb->s_root) in user_get_super() 1111 if (!sb->s_root) in reconfigure_super() 1175 if (born && sb->s_root && sb->s_bdev && !sb_rdonly(sb)) { in do_emergency_remount_callback() 1178 fc = fs_context_for_reconfigure(sb->s_root, in do_emergency_remount_callback() 1211 if (born && sb->s_root) { in do_thaw_all_callback() 1300 if (sb->s_root) in kill_litter_super() [all …]
|
/linux-6.6.21/arch/s390/hypfs/ |
D | inode.c | 186 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()
|
/linux-6.6.21/fs/devpts/ |
D | inode.c | 126 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 310 struct dentry *root = sb->s_root; in mknod_ptmx() 460 s->s_root = d_make_root(inode); in devpts_fill_super() 461 if (!s->s_root) { in devpts_fill_super() 472 dput(s->s_root); in devpts_fill_super() 473 s->s_root = NULL; in devpts_fill_super() 553 root = sb->s_root; in devpts_pty_new()
|
/linux-6.6.21/fs/autofs/ |
D | inode.c | 65 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options() 339 s->s_root = root; in autofs_fill_super() 369 if (sb->s_root) { in autofs_get_inode() 370 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode() 371 inode->i_gid = d_inode(sb->s_root)->i_gid; in autofs_get_inode()
|
/linux-6.6.21/fs/proc/ |
D | self.c | 38 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()
|
D | thread_self.c | 38 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()
|
/linux-6.6.21/fs/kernfs/ |
D | mount.c | 215 dentry = dget(sb->s_root); in kernfs_node_dentry() 285 sb->s_root = root; in kernfs_fill_super() 350 if (!sb->s_root) { in kernfs_get_tree() 370 fc->root = dget(sb->s_root); in kernfs_get_tree()
|
/linux-6.6.21/drivers/mtd/ |
D | mtdsuper.c | 37 if (sb->s_root) { in mtd_get_sb() 65 fc->root = dget(sb->s_root); in mtd_get_sb()
|
/linux-6.6.21/fs/9p/ |
D | fid.c | 203 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 220 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid() 223 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
/linux-6.6.21/fs/overlayfs/ |
D | export.c | 82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() 112 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer() 201 if (dentry == dentry->d_sb->s_root) in ovl_check_encode_origin() 516 return dget(sb->s_root); in ovl_lookup_real_ancestor() 532 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor() 599 connected = dget(sb->s_root); in ovl_lookup_real()
|
/linux-6.6.21/drivers/android/ |
D | binderfs.c | 185 root = sb->s_root; in binderfs_binder_device_create() 398 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 596 dir = binderfs_create_dir(sb->s_root, "features"); in init_binder_features() 622 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 709 sb->s_root = d_make_root(inode); in binderfs_fill_super() 710 if (!sb->s_root) in binderfs_fill_super()
|
/linux-6.6.21/fs/afs/ |
D | dynroot.c | 290 root = sb->s_root; in afs_dynroot_mkdir() 318 root = sb->s_root; in afs_dynroot_rmdir() 376 struct dentry *root = sb->s_root, *subdir, *tmp; in afs_dynroot_depopulate()
|
D | super.c | 484 sb->s_root = d_make_root(inode); in afs_fill_super() 485 if (!sb->s_root) in afs_fill_super() 587 if (!sb->s_root) { in afs_get_tree() 599 fc->root = dget(sb->s_root); in afs_get_tree()
|
/linux-6.6.21/fs/qnx6/ |
D | inode.c | 184 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()
|
/linux-6.6.21/security/tomoyo/ |
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-6.6.21/fs/reiserfs/ |
D | super.c | 1733 inode = d_inode(s->s_root); in find_hash_out() 2083 s->s_root = d_make_root(root_inode); in reiserfs_fill_super() 2084 if (!s->s_root) in reiserfs_fill_super() 2089 dput(s->s_root); in reiserfs_fill_super() 2090 s->s_root = NULL; in reiserfs_fill_super() 2106 dput(s->s_root); in reiserfs_fill_super() 2107 s->s_root = NULL; in reiserfs_fill_super() 2168 dput(s->s_root); in reiserfs_fill_super() 2169 s->s_root = NULL; in reiserfs_fill_super() 2176 dput(s->s_root); in reiserfs_fill_super() [all …]
|
D | xattr.c | 976 inode_lock(d_inode(s->s_root)); in reiserfs_lookup_privroot() 977 dentry = lookup_one_len(PRIVROOT_NAME, s->s_root, in reiserfs_lookup_privroot() 986 inode_unlock(d_inode(s->s_root)); in reiserfs_lookup_privroot() 1006 inode_lock(d_inode(s->s_root)); in reiserfs_xattr_init() 1008 inode_unlock(d_inode(s->s_root)); in reiserfs_xattr_init()
|
/linux-6.6.21/fs/bfs/ |
D | inode.c | 366 s->s_root = d_make_root(inode); in bfs_fill_super() 367 if (!s->s_root) { in bfs_fill_super() 440 dput(s->s_root); in bfs_fill_super() 441 s->s_root = NULL; in bfs_fill_super()
|
/linux-6.6.21/fs/ramfs/ |
D | inode.c | 244 sb->s_root = d_make_root(inode); in ramfs_fill_super() 245 if (!sb->s_root) in ramfs_fill_super()
|
/linux-6.6.21/fs/freevxfs/ |
D | vxfs_super.c | 264 sbp->s_root = d_make_root(root); in vxfs_fill_super() 265 if (!sbp->s_root) { in vxfs_fill_super()
|
/linux-6.6.21/fs/pstore/ |
D | inode.c | 305 root = pstore_sb->s_root; in psinfo_lock_root() 449 sb->s_root = d_make_root(inode); in pstore_fill_super() 450 if (!sb->s_root) in pstore_fill_super()
|
/linux-6.6.21/fs/ecryptfs/ |
D | main.c | 588 s->s_root = d_make_root(inode); in ecryptfs_mount() 589 if (!s->s_root) { in ecryptfs_mount() 600 ecryptfs_set_dentry_private(s->s_root, root_info); in ecryptfs_mount() 604 return dget(s->s_root); in ecryptfs_mount()
|
/linux-6.6.21/fs/efivarfs/ |
D | super.c | 156 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback() 261 sb->s_root = root; in efivarfs_fill_super()
|
/linux-6.6.21/fs/coda/ |
D | inode.c | 219 sb->s_root = d_make_root(root); in coda_fill_super() 220 if (!sb->s_root) { in coda_fill_super()
|