/openbmc/linux/fs/nfs/ |
H A 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()
|
/openbmc/linux/fs/ |
H A D | super.c | 664 if (sb->s_root) { in generic_shutdown_super() 967 if (born && sb->s_root) in iterate_supers() 1111 if (!sb->s_root) in reconfigure_super() 1300 if (sb->s_root) in kill_litter_super() 1334 if (!sb->s_root) { in vfs_get_super() 1559 if (s->s_root) { in get_tree_bdev() 1613 if (s->s_root) { in mount_bdev() 1638 return dget(s->s_root); in mount_bdev() 1672 return dget(s->s_root); in mount_nodev() 1716 if (!s->s_root) { in mount_single() [all …]
|
/openbmc/linux/arch/s390/hypfs/ |
H A 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()
|
/openbmc/linux/fs/devpts/ |
H A 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()
|
/openbmc/linux/fs/proc/ |
H A 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()
|
H A 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()
|
/openbmc/linux/fs/autofs/ |
H A 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()
|
/openbmc/linux/fs/kernfs/ |
H A 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()
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdsuper.c | 37 if (sb->s_root) { in mtd_get_sb() 65 fc->root = dget(sb->s_root); in mtd_get_sb()
|
/openbmc/linux/fs/9p/ |
H A 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()
|
/openbmc/linux/fs/overlayfs/ |
H A 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() 205 if (dentry == dentry->d_sb->s_root) in ovl_check_encode_origin() 520 return dget(sb->s_root); in ovl_lookup_real_ancestor() 536 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor() 603 connected = dget(sb->s_root); in ovl_lookup_real()
|
/openbmc/linux/drivers/android/ |
H A 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()
|
/openbmc/linux/fs/afs/ |
H A 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()
|
H A 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()
|
/openbmc/linux/fs/qnx6/ |
H A 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()
|
/openbmc/linux/security/tomoyo/ |
H A 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()
|
/openbmc/linux/fs/reiserfs/ |
H A D | super.c | 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() 2177 s->s_root = NULL; in reiserfs_fill_super() 2194 dput(s->s_root); in reiserfs_fill_super() [all …]
|
/openbmc/linux/fs/bfs/ |
H A 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()
|
/openbmc/linux/fs/pstore/ |
H A D | inode.c | 299 root = pstore_sb->s_root; in psinfo_lock_root() 435 sb->s_root = d_make_root(inode); in pstore_fill_super() 436 if (!sb->s_root) in pstore_fill_super()
|
/openbmc/linux/fs/ramfs/ |
H A D | inode.c | 244 sb->s_root = d_make_root(inode); in ramfs_fill_super() 245 if (!sb->s_root) in ramfs_fill_super()
|
/openbmc/linux/fs/freevxfs/ |
H A 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()
|
/openbmc/linux/fs/ecryptfs/ |
H A 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()
|
/openbmc/linux/fs/tracefs/ |
H A D | inode.c | 194 if (root_inode != d_inode(root_inode->i_sb->s_root)) { in set_tracefs_inode_owner() 198 root_inode = d_inode(root_inode->i_sb->s_root); in set_tracefs_inode_owner() 364 struct inode *inode = d_inode(sb->s_root); in tracefs_apply_options() 601 return d_inode(inode->i_sb->s_root); in instance_inode()
|
/openbmc/linux/fs/efivarfs/ |
H A D | super.c | 156 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback() 261 sb->s_root = root; in efivarfs_fill_super()
|
/openbmc/linux/fs/coda/ |
H A D | inode.c | 219 sb->s_root = d_make_root(root); in coda_fill_super() 220 if (!sb->s_root) { in coda_fill_super()
|