/linux-6.6.21/fs/ |
D | fs_context.c | 67 fc->sb_flags |= token; in vfs_parse_sb_flag() 74 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 277 unsigned int sb_flags, in alloc_fs_context() argument 290 fc->sb_flags = sb_flags; in alloc_fs_context() 330 unsigned int sb_flags) in fs_context_for_mount() argument 332 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 338 unsigned int sb_flags, in fs_context_for_reconfigure() argument 341 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure() 662 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree() 685 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure() [all …]
|
D | super.c | 794 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 1085 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super() 1098 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super() 1102 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1103 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1151 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super() 1478 int setup_bdev_super(struct super_block *sb, int sb_flags, in setup_bdev_super() argument 1481 blk_mode_t mode = sb_open_mode(sb_flags); in setup_bdev_super() 1554 fc->sb_flags |= SB_NOSEC; in get_tree_bdev() 1561 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev() [all …]
|
D | namespace.c | 1094 if (fc->sb_flags & SB_KERNMOUNT) in vfs_create_mount() 2855 static int do_remount(struct path *path, int ms_flags, int sb_flags, in do_remount() argument 2872 fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK); in do_remount() 3299 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument 3325 fc = fs_context_for_mount(type, sb_flags); in do_new_mount() 3601 unsigned int mnt_flags = 0, sb_flags; in path_mount() local 3653 sb_flags = flags & (SB_RDONLY | in path_mount() 3665 return do_remount(path, flags, sb_flags, mnt_flags, data_page); in path_mount() 3673 return do_new_mount(path, type_page, sb_flags, mnt_flags, dev_name, in path_mount() 4005 if (fc->sb_flags & SB_MANDLOCK) in SYSCALL_DEFINE3()
|
/linux-6.6.21/include/linux/ |
D | fs_context.h | 104 unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ member 128 unsigned int sb_flags); 130 unsigned int sb_flags, 161 int setup_bdev_super(struct super_block *sb, int sb_flags,
|
D | qnx6_fs.h | 100 __fs32 sb_flags; member
|
/linux-6.6.21/fs/dlm/ |
D | ast.c | 87 cb->sb_flags = (sbflags & 0x000000FF); in dlm_enqueue_lkb_callback() 185 lkb->lkb_lksb->sb_flags = cb->sb_flags; in dlm_callback_work()
|
D | user.c | 71 __u8 sb_flags; member 142 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 905 lkb->lkb_lksb->sb_flags = cb->sb_flags; in device_read()
|
/linux-6.6.21/include/uapi/linux/ |
D | dlm.h | 65 char sb_flags; member
|
/linux-6.6.21/drivers/md/ |
D | md.c | 915 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written() 972 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait() 2567 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync() 2652 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2658 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb() 2660 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb() 2667 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb() 2693 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb() 2694 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2696 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb() [all …]
|
D | dm-cache-metadata.c | 472 unsigned long sb_flags; in __open_metadata() local 507 sb_flags = le32_to_cpu(disk_super->flags); in __open_metadata() 508 cmd->clean_when_opened = test_bit(CLEAN_SHUTDOWN, &sb_flags); in __open_metadata() 571 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags() local 573 disk_super->flags = cpu_to_le32(sb_flags); in update_flags()
|
/linux-6.6.21/fs/romfs/ |
D | super.c | 429 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure() 508 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super() 522 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super()
|
/linux-6.6.21/fs/sysfs/ |
D | mount.c | 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
|
/linux-6.6.21/drivers/mtd/ |
D | mtdsuper.c | 162 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
|
/linux-6.6.21/include/trace/events/ |
D | dlm.h | 234 __field(u8, sb_flags) 245 __entry->sb_flags = lkb->lkb_lksb->sb_flags; 256 show_dlm_sb_flags(__entry->sb_flags), __entry->sb_status,
|
/linux-6.6.21/fs/xfs/ |
D | xfs_super.c | 1024 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags() 1511 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super() 1513 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super() 1515 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super() 1542 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super() 1924 int flags = fc->sb_flags; in xfs_fs_reconfigure() 1929 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
|
/linux-6.6.21/fs/erofs/ |
D | super.c | 738 fc->sb_flags |= SB_POSIXACL; in erofs_fc_reconfigure() 740 fc->sb_flags &= ~SB_POSIXACL; in erofs_fc_reconfigure() 744 fc->sb_flags |= SB_RDONLY; in erofs_fc_reconfigure() 797 if (fc->sb_flags & SB_KERNMOUNT) { in erofs_init_fs_context()
|
/linux-6.6.21/Documentation/filesystems/ |
D | mount_api.rst | 79 unsigned int sb_flags; 165 unsigned int sb_flags 253 will have been weeded out and fc->sb_flags updated in the context. 408 unsigned int sb_flags); 416 sb_flags presets the superblock flags stored therein. 422 unsigned int sb_flags, 427 configured. sb_flags and sb_flags_mask indicate which superblock flags
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_sb.c | 645 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk() 792 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
|
/linux-6.6.21/fs/nfs/ |
D | super.c | 1029 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure() 1105 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options() 1275 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common() 1279 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
|
/linux-6.6.21/fs/squashfs/ |
D | super.c | 230 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super() 495 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
|
/linux-6.6.21/fs/gfs2/ |
D | ops_fstype.c | 1159 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super() 1602 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure() 1604 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure() 1605 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure() 1708 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
|
D | lock_dlm.c | 125 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast() 127 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast() 152 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
|
/linux-6.6.21/fs/ceph/ |
D | super.c | 566 fc->sb_flags |= SB_POSIXACL; in ceph_parse_mount_param() 571 fc->sb_flags &= ~SB_POSIXACL; in ceph_parse_mount_param() 1242 if (fc->sb_flags != (sb->s_flags & ~SB_BORN)) { in ceph_compare_super() 1451 fc->sb_flags |= SB_POSIXACL; in ceph_init_fs_context()
|
/linux-6.6.21/fs/efivarfs/ |
D | super.c | 281 if (!efivar_supports_writes() && !(fc->sb_flags & SB_RDONLY)) { in efivarfs_reconfigure()
|
/linux-6.6.21/fs/overlayfs/ |
D | params.c | 652 if (!(fc->sb_flags & SB_RDONLY) && ovl_force_readonly(ofs)) in ovl_reconfigure() 655 if (fc->sb_flags & SB_RDONLY && !sb_rdonly(sb)) { in ovl_reconfigure()
|