/Linux-v5.4/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-v5.4/fs/ |
D | super.c | 420 sb->s_root && (sb->s_flags & SB_BORN)) in trylock_super() 446 if (sb->s_root) { in generic_shutdown_super() 691 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers() 725 if (sb->s_root && (sb->s_flags & SB_BORN)) in iterate_supers_type() 761 if (sb->s_root && (sb->s_flags & SB_BORN)) in __get_super() 882 if (sb->s_root && (sb->s_flags & SB_BORN)) in user_get_super() 931 if (!sb->s_root) in reconfigure_super() 991 if (sb->s_root && sb->s_bdev && (sb->s_flags & SB_BORN) && in do_emergency_remount_callback() 995 fc = fs_context_for_reconfigure(sb->s_root, in do_emergency_remount_callback() 1027 if (sb->s_root && sb->s_flags & SB_BORN) { in do_thaw_all_callback() [all …]
|
/Linux-v5.4/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() 278 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super() 333 if (sb->s_root) in hypfs_kill_super() 334 hypfs_delete_tree(sb->s_root); in hypfs_kill_super()
|
/Linux-v5.4/fs/devpts/ |
D | inode.c | 144 (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()
|
/Linux-v5.4/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-v5.4/fs/autofs/ |
D | inode.c | 64 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()
|
/Linux-v5.4/fs/kernfs/ |
D | mount.c | 180 dentry = dget(sb->s_root); in kernfs_node_dentry() 249 sb->s_root = root; in kernfs_fill_super() 312 if (!sb->s_root) { in kernfs_get_tree() 329 fc->root = dget(sb->s_root); in kernfs_get_tree()
|
/Linux-v5.4/fs/9p/ |
D | fid.c | 131 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()
|
/Linux-v5.4/fs/afs/ |
D | dynroot.c | 195 root = sb->s_root; in afs_dynroot_mkdir() 223 root = sb->s_root; in afs_dynroot_rmdir() 281 struct dentry *root = sb->s_root, *subdir, *tmp; in afs_dynroot_depopulate()
|
D | super.c | 471 sb->s_root = d_make_root(inode); in afs_fill_super() 472 if (!sb->s_root) in afs_fill_super() 572 if (!sb->s_root) { in afs_get_tree() 584 fc->root = dget(sb->s_root); in afs_get_tree()
|
/Linux-v5.4/drivers/oprofile/ |
D | oprofilefs.c | 257 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()
|
/Linux-v5.4/drivers/mtd/ |
D | mtdsuper.c | 69 if (sb->s_root) { in mtd_get_sb() 87 fc->root = dget(sb->s_root); in mtd_get_sb()
|
/Linux-v5.4/fs/overlayfs/ |
D | export.c | 82 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() 505 return dget(sb->s_root); in ovl_lookup_real_ancestor() 521 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor() 588 connected = dget(sb->s_root); in ovl_lookup_real()
|
/Linux-v5.4/drivers/android/ |
D | binderfs.c | 172 root = sb->s_root; in binderfs_binder_device_create() 405 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 594 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 710 sb->s_root = d_make_root(inode); in binderfs_fill_super() 711 if (!sb->s_root) in binderfs_fill_super()
|
/Linux-v5.4/fs/pstore/ |
D | inode.c | 372 root = pstore_sb->s_root; in pstore_get_records() 401 sb->s_root = d_make_root(inode); in pstore_fill_super() 402 if (!sb->s_root) in pstore_fill_super()
|
/Linux-v5.4/fs/reiserfs/ |
D | super.c | 1740 inode = d_inode(s->s_root); in find_hash_out() 2082 s->s_root = d_make_root(root_inode); in reiserfs_fill_super() 2083 if (!s->s_root) in reiserfs_fill_super() 2088 dput(s->s_root); in reiserfs_fill_super() 2089 s->s_root = NULL; in reiserfs_fill_super() 2105 dput(s->s_root); in reiserfs_fill_super() 2106 s->s_root = NULL; in reiserfs_fill_super() 2167 dput(s->s_root); in reiserfs_fill_super() 2168 s->s_root = NULL; in reiserfs_fill_super() 2175 dput(s->s_root); in reiserfs_fill_super() [all …]
|
/Linux-v5.4/fs/qnx6/ |
D | inode.c | 186 struct inode *root = d_inode(s->s_root); in qnx6_checkroot() 454 s->s_root = d_make_root(root); in qnx6_fill_super() 455 if (!s->s_root) in qnx6_fill_super() 468 dput(s->s_root); in qnx6_fill_super() 469 s->s_root = NULL; in qnx6_fill_super()
|
/Linux-v5.4/fs/bfs/ |
D | inode.c | 368 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()
|
/Linux-v5.4/security/tomoyo/ |
D | realpath.c | 178 struct inode *inode = d_backing_inode(sb->s_root); in tomoyo_get_local_path() 292 inode = d_backing_inode(sb->s_root); in tomoyo_realpath_from_path()
|
/Linux-v5.4/fs/efivarfs/ |
D | super.c | 112 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback() 210 sb->s_root = root; in efivarfs_fill_super()
|
/Linux-v5.4/fs/ramfs/ |
D | inode.c | 235 sb->s_root = d_make_root(inode); in ramfs_fill_super() 236 if (!sb->s_root) in ramfs_fill_super()
|
/Linux-v5.4/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()
|
/Linux-v5.4/fs/freevxfs/ |
D | vxfs_super.c | 288 sbp->s_root = d_make_root(root); in vxfs_fill_super() 289 if (!sbp->s_root) { in vxfs_fill_super()
|
/Linux-v5.4/fs/ceph/ |
D | quota.c | 30 if (sb->s_root->d_inode && in ceph_has_realms_with_quotas() 31 (sb->s_root->d_inode->i_ino == CEPH_INO_ROOT)) in ceph_has_realms_with_quotas() 488 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), true); in ceph_quota_update_statfs()
|