| /linux/security/loadpin/ ! |
| H A D | loadpin.c | 83 static void report_writable(struct super_block *mnt_sb, bool writable) in report_writable() argument 85 if (mnt_sb->s_bdev) { in report_writable() 86 pr_info("%pg (%u:%u): %s\n", mnt_sb->s_bdev, in report_writable() 87 MAJOR(mnt_sb->s_bdev->bd_dev), in report_writable() 88 MINOR(mnt_sb->s_bdev->bd_dev), in report_writable() 101 static bool sb_is_writable(struct super_block *mnt_sb) in sb_is_writable() argument 105 if (mnt_sb->s_bdev) in sb_is_writable() 106 writable = !bdev_read_only(mnt_sb->s_bdev); in sb_is_writable() 111 static void loadpin_sb_free_security(struct super_block *mnt_sb) in loadpin_sb_free_security() argument 119 if (!IS_ERR_OR_NULL(pinned_root) && mnt_sb == pinned_root) { in loadpin_sb_free_security() [all …]
|
| /linux/fs/exportfs/ ! |
| H A D | expfs.c | 129 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() 217 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path() 443 const struct export_operations *nop = mnt->mnt_sb->s_export_op; in exportfs_decode_fh_raw() 456 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh_raw() 522 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid, in exportfs_decode_fh_raw()
|
| /linux/fs/devpts/ ! |
| H A D | inode.c | 124 sb = path->mnt->mnt_sb; in devpts_ptmx_path() 166 if ((path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) || in devpts_mntget() 167 (DEVPTS_SB(path.mnt->mnt_sb) != fsi)) in devpts_mntget() 171 if (DEVPTS_SB(path.mnt->mnt_sb) == fsi) in devpts_mntget() 191 if (path.mnt->mnt_sb->s_magic != DEVPTS_SUPER_MAGIC) { in devpts_acquire() 204 sb = path.mnt->mnt_sb; in devpts_acquire()
|
| /linux/fs/btrfs/tests/ ! |
| H A D | btrfs-tests.c | 61 inode = new_inode(test_mnt->mnt_sb); in btrfs_new_test_inode() 153 test_mnt->mnt_sb->s_fs_info = fs_info; in btrfs_alloc_dummy_fs_info() 170 test_mnt->mnt_sb->s_fs_info = NULL; in btrfs_free_dummy_fs_info()
|
| /linux/fs/ ! |
| H A D | fhandle.c | 322 if (ns_capable(root->mnt->mnt_sb->s_user_ns, CAP_SYS_ADMIN)) in may_decode_fh() 364 eops = ctx.root.mnt->mnt_sb->s_export_op; in handle_to_path() 423 eops = path.mnt->mnt_sb->s_export_op; in do_handle_open()
|
| H A D | namespace.c | 376 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly() 416 if (READ_ONCE(mnt->mnt_sb->s_readonly_remount)) in mnt_is_readonly() 508 sb_start_write(m->mnt_sb); in mnt_want_write() 511 sb_end_write(m->mnt_sb); in mnt_want_write() 587 sb_end_write(mnt->mnt_sb); in mnt_drop_write() 1168 m->mnt.mnt_sb = s; in setup_mnt() 1327 deactivate_super(mnt->mnt.mnt_sb); in cleanup_mnt() 1866 struct super_block *sb = mnt->mnt.mnt_sb; in do_umount() 2812 if (mnt->mnt.mnt_sb->s_flags & SB_NOUSER) in graft_tree() 3178 struct super_block *sb = mnt->mnt_sb; in mnt_warn_timestamp_expiry() [all …]
|
| H A D | anon_inodes.c | 147 inode = anon_inode_make_secure_inode(anon_inode_mnt->mnt_sb, in __anon_inode_getfile() 370 anon_inode_inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); in anon_inode_init()
|
| H A D | fs_pin.c | 25 hlist_add_head(&pin->s_list, &m->mnt_sb->s_pins); in pin_insert()
|
| H A D | nsfs.c | 393 return (ns->inum == ino) && (nsfs_mnt->mnt_sb->s_dev == dev); in ns_match() 611 nsfs_mnt->mnt_sb->s_flags &= ~SB_NOUSER; in nsfs_init()
|
| H A D | proc_namespace.c | 139 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
|
| /linux/fs/cachefiles/ ! |
| H A D | cache.c | 395 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache() 396 ret = sync_filesystem(cache->mnt->mnt_sb); in cachefiles_sync_cache() 397 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
|
| /linux/fs/notify/ ! |
| H A D | fsnotify.h | 49 return ((struct vfsmount *)obj)->mnt_sb; in fsnotify_object_sb()
|
| /linux/fs/overlayfs/ ! |
| H A D | super.c | 251 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs() 417 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir() 546 if (upper_mnt->mnt_sb->s_flags & SB_NOSEC) in ovl_get_upper() 951 struct super_block *sb = path->mnt->mnt_sb; in ovl_get_fsid() 1054 ofs->fs[0].sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_get_layers() 1129 if (!sb_same_encoding(sb, mnt->mnt_sb)) { in ovl_get_layers() 1458 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_fill_super()
|
| H A D | util.c | 32 sb_start_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_start_write() 50 sb_end_write(ovl_upper_mnt(ofs)->mnt_sb); in ovl_end_write() 1513 return errseq_check(&mnt->mnt_sb->s_wb_err, ofs->errseq); in ovl_sync_status()
|
| /linux/include/linux/ ! |
| H A D | mount.h | 60 struct super_block *mnt_sb; /* pointer to superblock */ member
|
| /linux/drivers/base/ ! |
| H A D | devtmpfs.c | 79 struct super_block *sb = mnt->mnt_sb; in devtmpfs_get_tree() 453 fc = fs_context_for_reconfigure(mnt->mnt_root, mnt->mnt_sb->s_flags, in devtmpfs_configure_context()
|
| /linux/fs/nfs/ ! |
| H A D | nfs4file.c | 318 server = NFS_SB(ss_mnt->mnt_sb); in __nfs42_ssc_open() 341 r_ino = nfs_fhget(ss_mnt->mnt_sb, src_fh, fattr); in __nfs42_ssc_open()
|
| H A D | namespace.c | 161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in nfs_d_automount()
|
| /linux/security/ipe/ ! |
| H A D | hooks.c | 194 ipe_sb(current->fs->root.mnt->mnt_sb)->initramfs = true; in ipe_unpack_initramfs()
|
| H A D | eval.c | 26 #define FILE_SUPERBLOCK(f) ((f)->f_path.mnt->mnt_sb)
|
| /linux/fs/notify/fanotify/ ! |
| H A D | fanotify_user.c | 1860 if (!(path->mnt->mnt_sb->s_iflags & SB_I_ALLOW_HSM)) in fanotify_events_supported() 1875 path->mnt->mnt_sb->s_type->fs_flags & FS_DISALLOW_NOTIFY_PERM) in fanotify_events_supported() 1889 path->mnt->mnt_sb->s_flags & SB_NOUSER) in fanotify_events_supported() 2098 user_ns = path.mnt->mnt_sb->s_user_ns; in do_fanotify_mark() 2101 user_ns = path.mnt->mnt_sb->s_user_ns; in do_fanotify_mark() 2102 obj = path.mnt->mnt_sb; in do_fanotify_mark()
|
| /linux/fs/smb/client/ ! |
| H A D | namespace.c | 225 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); in cifs_do_automount()
|
| /linux/mm/ ! |
| H A D | secretmem.c | 197 inode = anon_inode_make_secure_inode(secretmem_mnt->mnt_sb, anon_name, NULL); in secretmem_file_create()
|
| /linux/fs/nfsd/ ! |
| H A D | nfs4layouts.c | 129 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type() 644 argv[2] = file->nf_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
|
| H A D | blocklayout.c | 342 struct block_device *bdev = file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
|