| /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()
|
| /linux/fs/autofs/ |
| H A D | inode.c | 66 struct inode *root_inode = d_inode(root->d_sb->s_root); in autofs_show_options() 334 s->s_root = d_make_root(root_inode); in autofs_fill_super() 335 if (unlikely(!s->s_root)) { in autofs_fill_super() 339 s->s_root->d_fsdata = ino; in autofs_fill_super() 354 managed_dentry_set_managed(s->s_root); in autofs_fill_super() 438 if (sb->s_root) { in autofs_get_inode() 439 inode->i_uid = d_inode(sb->s_root)->i_uid; in autofs_get_inode() 440 inode->i_gid = d_inode(sb->s_root)->i_gid; in autofs_get_inode()
|
| /linux/fs/proc/ |
| H A D | self.c | 38 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()
|
| H A D | thread_self.c | 38 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/fs/efivarfs/ |
| H A D | super.c | 230 dentry = try_lookup_noperm(&QSTR(name), sb->s_root); in efivarfs_variable_is_present() 244 struct dentry *dentry, *root = sb->s_root; in efivarfs_create_dentry() 370 sb->s_root = root; in efivarfs_fill_super() 425 dentry = try_lookup_noperm(&QSTR(name), sb->s_root); in efivarfs_check_missing() 472 child = find_next_child(sb->s_root, child); in efivarfs_unfreeze_fs()
|
| /linux/fs/devpts/ |
| H A D | inode.c | 126 (path->mnt->mnt_root != sb->s_root)) in devpts_ptmx_path() 264 struct dentry *root = sb->s_root; in mknod_ptmx() 384 s->s_root = d_make_root(inode); in devpts_fill_super() 385 if (!s->s_root) { in devpts_fill_super() 507 root = sb->s_root; in devpts_pty_new()
|
| /linux/fs/kernfs/ |
| H A D | mount.c | 231 dentry = dget(sb->s_root); in kernfs_node_dentry() 321 sb->s_root = root; in kernfs_fill_super() 386 if (!sb->s_root) { in kernfs_get_tree() 408 fc->root = dget(sb->s_root); in kernfs_get_tree()
|
| /linux/drivers/android/binder/ |
| H A D | rust_binderfs.c | 180 root = sb->s_root; in binderfs_binder_device_create() 382 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 549 dir = binderfs_create_dir(sb->s_root, "features"); in init_binder_features() 580 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 677 sb->s_root = d_make_root(inode); in binderfs_fill_super() 678 if (!sb->s_root) in binderfs_fill_super()
|
| /linux/drivers/android/ |
| H A D | binderfs.c | 185 root = sb->s_root; in binderfs_binder_device_create() 391 struct dentry *root = sb->s_root; in binderfs_binder_ctl_create() 543 dir = binderfs_create_dir(sb->s_root, "features"); in init_binder_features() 581 binder_logs_root_dir = binderfs_create_dir(sb->s_root, in init_binder_logs() 668 sb->s_root = d_make_root(inode); in binderfs_fill_super() 669 if (!sb->s_root) in binderfs_fill_super()
|
| /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()
|
| /linux/fs/9p/ |
| H A D | fid.c | 202 root_fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any); in v9fs_fid_lookup_with_uid() 219 v9fs_fid_add(dentry->d_sb->s_root, &fid); in v9fs_fid_lookup_with_uid() 222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
|
| /linux/fs/qnx6/ |
| H A D | inode.c | 184 struct inode *root = d_inode(s->s_root); in qnx6_checkroot() 445 s->s_root = d_make_root(root); in qnx6_fill_super() 446 if (!s->s_root) in qnx6_fill_super() 459 dput(s->s_root); in qnx6_fill_super() 460 s->s_root = NULL; in qnx6_fill_super()
|
| /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()
|
| /linux/fs/bfs/ |
| H A D | inode.c | 383 s->s_root = d_make_root(inode); in bfs_fill_super() 384 if (!s->s_root) { in bfs_fill_super() 457 dput(s->s_root); in bfs_fill_super() 458 s->s_root = NULL; in bfs_fill_super()
|
| /linux/security/selinux/ |
| H A D | selinuxfs.c | 543 rd.new_parent = fsi->sb->s_root; in sel_make_policy_nodes() 1933 struct dentry *dentry = d_alloc_name(sb->s_root, ".swapover"); in sel_make_swapover_dir() 1949 inode_lock(sb->s_root->d_inode); in sel_make_swapover_dir() 1951 inc_nlink(sb->s_root->d_inode); in sel_make_swapover_dir() 1952 inode_unlock(sb->s_root->d_inode); in sel_make_swapover_dir() 1999 fsi->bool_dir = sel_make_dir(sb->s_root, BOOL_DIR_NAME, &fsi->last_ino); in sel_fill_super() 2018 ret = sel_attach_file(sb->s_root, NULL_FILE_NAME, inode); in sel_fill_super() 2022 dentry = sel_make_dir(sb->s_root, "avc", &fsi->last_ino); in sel_fill_super() 2032 dentry = sel_make_dir(sb->s_root, "ss", &fsi->last_ino); in sel_fill_super() 2042 dentry = sel_make_dir(sb->s_root, "initial_contexts", &fsi->last_ino); in sel_fill_super() [all …]
|
| /linux/arch/s390/hypfs/ |
| H A D | inode.c | 172 rc = hypfs_vm_create_files(sb->s_root); in hypfs_write_iter() 174 rc = hypfs_diag_create_files(sb->s_root); in hypfs_write_iter() 257 sb->s_root = root_dentry = d_make_root(root_inode); in hypfs_fill_super()
|
| /linux/fs/ |
| H A D | super.c | 564 if (!(sb->s_flags & SB_DYING) && sb->s_root && in super_trylock_shared() 620 if (sb->s_root) { in generic_shutdown_super() 1048 if (!sb->s_root) in reconfigure_super() 1113 fc = fs_context_for_reconfigure(sb->s_root, in do_emergency_remount_callback() 1323 if (!sb->s_root) { in vfs_get_super() 1331 fc->root = dget(sb->s_root); in vfs_get_super() 1445 if (!sb->s_root || !(sb->s_flags & SB_ACTIVE)) { in bdev_super_lock() 1681 if (s->s_root) { in get_tree_bdev_flags() 1700 fc->root = dget(s->s_root); in get_tree_bdev_flags()
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 191 if (root_inode != d_inode(root_inode->i_sb->s_root)) { in set_tracefs_inode_owner() 195 root_inode = d_inode(root_inode->i_sb->s_root); in set_tracefs_inode_owner() 336 struct inode *inode = d_inode(sb->s_root); in tracefs_apply_options() 592 return d_inode(inode->i_sb->s_root); in instance_inode()
|
| /linux/fs/ecryptfs/ |
| H A D | main.c | 545 s->s_root = d_make_root(inode); in ecryptfs_get_tree() 546 if (!s->s_root) { in ecryptfs_get_tree() 551 ecryptfs_set_dentry_lower(s->s_root, path.dentry); in ecryptfs_get_tree() 555 fc->root = dget(s->s_root); in ecryptfs_get_tree()
|
| /linux/fs/afs/ |
| H A D | super.c | 481 sb->s_root = d_make_root(inode); in afs_fill_super() 482 if (!sb->s_root) in afs_fill_super() 577 if (!sb->s_root) { in afs_get_tree() 589 fc->root = dget(sb->s_root); in afs_get_tree()
|
| /linux/fs/pstore/ |
| H A D | inode.c | 302 root = pstore_sb->s_root; in psinfo_lock_root() 432 sb->s_root = d_make_root(inode); in pstore_fill_super() 433 if (!sb->s_root) in pstore_fill_super()
|
| /linux/fs/freevxfs/ |
| H A D | vxfs_super.c | 266 sbp->s_root = d_make_root(root); in vxfs_fill_super() 267 if (!sbp->s_root) { in vxfs_fill_super()
|
| /linux/fs/ramfs/ |
| H A D | inode.c | 274 sb->s_root = d_make_root(inode); in ramfs_fill_super() 275 if (!sb->s_root) in ramfs_fill_super()
|
| /linux/drivers/misc/ibmasm/ |
| H A D | ibmasmfs.c | 125 sb->s_root = d_make_root(root); in ibmasmfs_fill_super() 126 if (!sb->s_root) in ibmasmfs_fill_super() 581 dir = ibmasmfs_create_dir(sb->s_root, sp->dirname); in ibmasmfs_create_files()
|
| /linux/fs/coda/ |
| H A D | inode.c | 262 sb->s_root = d_make_root(root); in coda_fill_super() 263 if (!sb->s_root) { in coda_fill_super()
|