Home
last modified time | relevance | path

Searched refs:mnt_sb (Results 1 – 25 of 28) sorted by relevance

12

/linux-4.19.296/fs/exportfs/
Dexpfs.c129 if (mnt->mnt_sb->s_export_op->get_parent) in reconnect_one()
130 parent = mnt->mnt_sb->s_export_op->get_parent(dentry); in reconnect_one()
218 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path()
423 const struct export_operations *nop = mnt->mnt_sb->s_export_op; in exportfs_decode_fh()
433 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh()
496 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid, in exportfs_decode_fh()
/linux-4.19.296/fs/devpts/
Dinode.c145 sb = path->mnt->mnt_sb; in devpts_ptmx_path()
187 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget()
188 (DEVPTS_SB(path.mnt->mnt_sb) != fsi)) in devpts_mntget()
192 if (DEVPTS_SB(path.mnt->mnt_sb) == fsi) in devpts_mntget()
212 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire()
225 sb = path.mnt->mnt_sb; in devpts_acquire()
/linux-4.19.296/fs/
Dnamespace.c252 if (sb_rdonly(mnt->mnt_sb)) in __mnt_is_readonly()
294 if (mnt->mnt_sb->s_readonly_remount) in mnt_is_readonly()
360 sb_start_write(m->mnt_sb); in mnt_want_write()
363 sb_end_write(m->mnt_sb); in mnt_want_write()
452 sb_end_write(mnt->mnt_sb); in mnt_drop_write()
969 mnt->mnt.mnt_sb = root->d_sb; in vfs_kern_mount()
997 struct super_block *sb = old->mnt.mnt_sb; in clone_mnt()
1041 mnt->mnt.mnt_sb = sb; in clone_mnt()
1098 deactivate_super(mnt->mnt.mnt_sb); in cleanup_mnt()
1471 struct super_block *sb = mnt->mnt.mnt_sb; in do_umount()
[all …]
Dnsfs.c76 inode = new_inode_pseudo(mnt->mnt_sb); in __ns_get_path()
88 dentry = d_alloc_anon(mnt->mnt_sb); in __ns_get_path()
281 nsfs_mnt->mnt_sb->s_flags &= ~SB_NOUSER; in nsfs_init()
Danon_inodes.c153 anon_inode_inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); in anon_inode_init()
Dfs_pin.c33 pin_insert_group(pin, m, &m->mnt_sb->s_pins); in pin_insert()
Dfile_table.c224 path.dentry = d_alloc_pseudo(mnt->mnt_sb, &this); in alloc_file_pseudo()
227 if (!mnt->mnt_sb->s_d_op) in alloc_file_pseudo()
Dproc_namespace.c135 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
Dstatfs.c50 flags_by_sb(mnt->mnt_sb->s_flags); in calculate_f_flags()
Dpipe.c733 struct inode *inode = new_inode_pseudo(pipe_mnt->mnt_sb); in get_pipe_inode()
Dexec.c110 (path->mnt->mnt_sb->s_iflags & SB_I_NOEXEC); in path_noexec()
Dblock_dev.c839 blockdev_superblock = bd_mnt->mnt_sb; /* For writeback */ in bdev_cache_init()
Daio.c233 struct inode *inode = alloc_anon_inode(aio_mnt->mnt_sb); in aio_private_file()
/linux-4.19.296/fs/btrfs/tests/
Dbtrfs-tests.c43 inode = new_inode(test_mnt->mnt_sb); in btrfs_new_test_inode()
128 test_mnt->mnt_sb->s_fs_info = fs_info; in btrfs_alloc_dummy_fs_info()
145 test_mnt->mnt_sb->s_fs_info = NULL; in btrfs_free_dummy_fs_info()
/linux-4.19.296/include/linux/
Dmount.h69 struct super_block *mnt_sb; /* pointer to superblock */ member
/linux-4.19.296/fs/overlayfs/
Dsuper.c281 upper_sb = ofs->upper_mnt->mnt_sb; in ovl_sync_fs()
804 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir()
1048 if (sb_rdonly(upperpath->mnt->mnt_sb)) { in ovl_get_upper()
1273 if (ofs->upper_mnt && ofs->upper_mnt->mnt_sb == sb) in ovl_get_fsid()
1316 err = fsid = ovl_get_fsid(ofs, stack[i].mnt->mnt_sb); in ovl_get_lower_layers()
1612 sb->s_stack_depth = ofs->upper_mnt->mnt_sb->s_stack_depth; in ovl_fill_super()
1613 sb->s_time_gran = ofs->upper_mnt->mnt_sb->s_time_gran; in ovl_fill_super()
Dutil.c51 return ofs->upper_mnt->mnt_sb; in ovl_same_sb()
Dnamei.c164 if (!uuid_equal(&fh->uuid, &mnt->mnt_sb->s_uuid)) in ovl_decode_real_fh()
/linux-4.19.296/fs/cachefiles/
Dinterface.c393 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
394 ret = sync_filesystem(cache->mnt->mnt_sb); in cachefiles_sync_cache()
395 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
/linux-4.19.296/fs/btrfs/
Dsuper.c1415 ret = get_default_subvol_objectid(btrfs_sb(mnt->mnt_sb), in mount_subvol()
1423 btrfs_sb(mnt->mnt_sb), subvol_objectid); in mount_subvol()
1695 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
1696 error = btrfs_remount(mnt_root->mnt_sb, &flags, NULL); in btrfs_mount()
1697 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
/linux-4.19.296/fs/nfsd/
Dnfs4layouts.c130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type()
629 argv[2] = ls->ls_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
Dblocklayout.c409 struct block_device *bdev = ls->ls_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
/linux-4.19.296/drivers/misc/cxl/
Dapi.c85 inode = alloc_anon_inode(cxl_vfs_mount->mnt_sb); in cxl_getfile()
/linux-4.19.296/drivers/virtio/
Dvirtio_balloon.c612 vb->vb_dev_info.inode = alloc_anon_inode(balloon_mnt->mnt_sb); in virtballoon_probe()
/linux-4.19.296/fs/hugetlbfs/
Dinode.c1365 inode = hugetlbfs_get_inode(mnt->mnt_sb, NULL, S_IFREG | S_IRWXUGO, 0); in hugetlb_file_setup()

12