/openbmc/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 …]
|
/openbmc/linux/fs/exportfs/ |
H A D | expfs.c | 130 if (mnt->mnt_sb->s_export_op->get_parent) in reconnect_one() 131 parent = mnt->mnt_sb->s_export_op->get_parent(dentry); in reconnect_one() 219 BUG_ON(dentry == mnt->mnt_sb->s_root); in reconnect_path() 451 const struct export_operations *nop = mnt->mnt_sb->s_export_op; in exportfs_decode_fh_raw() 461 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()
|
/openbmc/linux/fs/ |
H A D | nsfs.c | 81 inode = new_inode_pseudo(mnt->mnt_sb); in __ns_get_path() 93 dentry = d_alloc_anon(mnt->mnt_sb); in __ns_get_path() 248 return (ns->inum == ino) && (nsfs_mnt->mnt_sb->s_dev == dev); in ns_match() 288 nsfs_mnt->mnt_sb->s_flags &= ~SB_NOUSER; in nsfs_init()
|
H A D | anon_inodes.c | 66 inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); in anon_inode_make_secure_inode() 263 anon_inode_inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); in anon_inode_init()
|
H A D | namespace.c | 403 sb_start_write(m->mnt_sb); in mnt_want_write() 406 sb_end_write(m->mnt_sb); in mnt_want_write() 481 sb_end_write(mnt->mnt_sb); in mnt_drop_write() 1098 mnt->mnt.mnt_sb = fc->root->d_sb; in vfs_create_mount() 1194 mnt->mnt.mnt_sb = sb; in clone_mnt() 1254 deactivate_super(mnt->mnt.mnt_sb); in cleanup_mnt() 2975 if (from->mnt.mnt_sb != to->mnt.mnt_sb) in do_set_group() 3250 if (path->mnt->mnt_sb == newmnt->mnt.mnt_sb && path_mounted(path)) in do_add_mount() 3380 if (m->mnt_sb == path->mnt->mnt_sb && in finish_automount() 3870 s = path.mnt->mnt_sb; in mount_subtree() [all …]
|
H A D | fs_pin.c | 25 hlist_add_head(&pin->s_list, &m->mnt_sb->s_pins); in pin_insert()
|
H A D | file_table.c | 329 path.dentry = d_alloc_pseudo(mnt->mnt_sb, &this); in alloc_file_pseudo() 332 if (!mnt->mnt_sb->s_d_op) in alloc_file_pseudo()
|
H A D | proc_namespace.c | 139 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
|
/openbmc/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()
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | btrfs-tests.c | 58 inode = new_inode(test_mnt->mnt_sb); in btrfs_new_test_inode() 148 test_mnt->mnt_sb->s_fs_info = fs_info; in btrfs_alloc_dummy_fs_info() 166 test_mnt->mnt_sb->s_fs_info = NULL; in btrfs_free_dummy_fs_info()
|
/openbmc/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()
|
/openbmc/linux/fs/notify/ |
H A D | fsnotify.h | 37 return fsnotify_conn_mount(conn)->mnt.mnt_sb; in fsnotify_connector_sb()
|
/openbmc/linux/include/linux/ |
H A D | mount.h | 72 struct super_block *mnt_sb; /* pointer to superblock */ member
|
/openbmc/linux/fs/overlayfs/ |
H A D | super.c | 229 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_sync_fs() 395 *stack_depth = max(*stack_depth, path->mnt->mnt_sb->s_stack_depth); in ovl_lower_dir() 584 if (upper_mnt->mnt_sb->s_flags & SB_NOSEC) in ovl_get_upper() 983 struct super_block *sb = path->mnt->mnt_sb; in ovl_get_fsid() 1067 ofs->fs[0].sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_get_layers() 1412 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_fill_super()
|
H A D | params.c | 292 if (sb_has_encoding(path->mnt->mnt_sb)) in ovl_mount_dir_check() 655 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_reconfigure()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4file.c | 328 server = NFS_SB(ss_mnt->mnt_sb); in __nfs42_ssc_open() 351 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()
|
/openbmc/linux/fs/smb/client/ |
H A D | namespace.c | 205 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); in cifs_do_automount()
|
/openbmc/linux/mm/ |
H A D | secretmem.c | 201 inode = alloc_anon_inode(secretmem_mnt->mnt_sb); in secretmem_file_create()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1631 path->mnt->mnt_sb->s_type->fs_flags & FS_DISALLOW_NOTIFY_PERM) in fanotify_events_supported() 1645 path->mnt->mnt_sb->s_flags & SB_NOUSER) in fanotify_events_supported() 1864 ret = fanotify_add_sb_mark(group, mnt->mnt_sb, mask, in do_fanotify_mark() 1875 ret = fanotify_remove_sb_mark(group, mnt->mnt_sb, mask, in do_fanotify_mark()
|
/openbmc/linux/fs/btrfs/ |
H A D | super.c | 1380 ret = get_default_subvol_objectid(btrfs_sb(mnt->mnt_sb), in mount_subvol() 1388 btrfs_sb(mnt->mnt_sb), subvol_objectid); in mount_subvol() 1602 down_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount() 1603 error = btrfs_remount(mnt_root->mnt_sb, &flags, NULL); in btrfs_mount() 1604 up_write(&mnt_root->mnt_sb->s_umount); in btrfs_mount()
|
/openbmc/linux/fs/nfsd/ |
H A D | blocklayout.c | 333 struct block_device *bdev = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_bdev; in nfsd4_scsi_fence_client()
|
H A D | nfs4layouts.c | 130 struct super_block *sb = exp->ex_path.mnt->mnt_sb; in nfsd4_setup_layout_type() 630 argv[2] = ls->ls_file->nf_file->f_path.mnt->mnt_sb->s_id; in nfsd4_cb_layout_fail()
|
/openbmc/linux/drivers/base/ |
H A D | devtmpfs.c | 69 struct super_block *s = mnt->mnt_sb; in public_dev_mount()
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | api.c | 77 inode = alloc_anon_inode(cxl_vfs_mount->mnt_sb); in cxl_getfile()
|