/linux-6.6.21/security/loadpin/ |
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-6.6.21/fs/exportfs/ |
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()
|
/linux-6.6.21/fs/ |
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()
|
D | namespace.c | 272 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly() 312 if (READ_ONCE(mnt->mnt_sb->s_readonly_remount)) in mnt_is_readonly() 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() 1104 list_add_tail(&mnt->mnt_instance, &mnt->mnt.mnt_sb->s_mounts); in vfs_create_mount() 1169 struct super_block *sb = old->mnt.mnt_sb; in clone_mnt() 1194 mnt->mnt.mnt_sb = sb; in clone_mnt() 1254 deactivate_super(mnt->mnt.mnt_sb); in cleanup_mnt() [all …]
|
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()
|
D | fs_pin.c | 25 hlist_add_head(&pin->s_list, &m->mnt_sb->s_pins); in pin_insert()
|
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()
|
D | proc_namespace.c | 139 struct super_block *sb = mnt->mnt_sb; in show_mountinfo()
|
D | statfs.c | 52 flags_by_sb(mnt->mnt_sb->s_flags); in calculate_f_flags()
|
/linux-6.6.21/fs/devpts/ |
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-6.6.21/fs/btrfs/tests/ |
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()
|
/linux-6.6.21/fs/cachefiles/ |
D | cache.c | 353 down_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache() 354 ret = sync_filesystem(cache->mnt->mnt_sb); in cachefiles_sync_cache() 355 up_read(&cache->mnt->mnt_sb->s_umount); in cachefiles_sync_cache()
|
/linux-6.6.21/fs/notify/ |
D | fsnotify.h | 37 return fsnotify_conn_mount(conn)->mnt.mnt_sb; in fsnotify_connector_sb()
|
/linux-6.6.21/include/linux/ |
D | mount.h | 72 struct super_block *mnt_sb; /* pointer to superblock */ member
|
/linux-6.6.21/fs/overlayfs/ |
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() 1409 upper_sb = ovl_upper_mnt(ofs)->mnt_sb; in ovl_fill_super()
|
/linux-6.6.21/fs/nfs/ |
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()
|
D | namespace.c | 161 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in nfs_d_automount()
|
/linux-6.6.21/fs/smb/client/ |
D | namespace.c | 205 fc = fs_context_for_submount(path->mnt->mnt_sb->s_type, mntpt); in cifs_do_automount()
|
/linux-6.6.21/mm/ |
D | secretmem.c | 201 inode = alloc_anon_inode(secretmem_mnt->mnt_sb); in secretmem_file_create()
|
/linux-6.6.21/fs/notify/fanotify/ |
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()
|
/linux-6.6.21/fs/btrfs/ |
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()
|
/linux-6.6.21/fs/nfsd/ |
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()
|
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()
|
/linux-6.6.21/drivers/base/ |
D | devtmpfs.c | 69 struct super_block *s = mnt->mnt_sb; in public_dev_mount()
|
/linux-6.6.21/drivers/misc/cxl/ |
D | api.c | 77 inode = alloc_anon_inode(cxl_vfs_mount->mnt_sb); in cxl_getfile()
|