| /linux/fs/ |
| A 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 …]
|
| A D | super.c | 760 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 1028 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super() 1041 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super() 1045 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super() 1046 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 1094 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super() 1547 int setup_bdev_super(struct super_block *sb, int sb_flags, in setup_bdev_super() argument 1550 blk_mode_t mode = sb_open_mode(sb_flags); in setup_bdev_super() 1621 fc->sb_flags |= SB_NOSEC; in get_tree_bdev_flags() 1628 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev_flags() [all …]
|
| /linux/fs/dlm/ |
| A D | ast.c | 22 uint32_t flags, uint8_t sb_flags, int sb_status, in dlm_run_callback() argument 33 trace_dlm_ast(ls_id, lkb_id, sb_status, sb_flags, res_name, in dlm_run_callback() 36 lksb->sb_flags = sb_flags; in dlm_run_callback() 44 cb->sb_flags, cb->sb_status, cb->lkb_lksb, in dlm_do_callback() 141 (*cb)->sb_flags = (sbflags & 0x000000FF); in dlm_get_cb()
|
| A D | user.c | 71 __u8 sb_flags; member 142 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 853 cb->lkb_lksb->sb_flags = cb->sb_flags; in device_read() 855 cb->sb_flags, cb->res_name, cb->res_length); in device_read()
|
| /linux/include/linux/ |
| A 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,
|
| A D | qnx6_fs.h | 100 __fs32 sb_flags; member
|
| /linux/fs/freevxfs/ |
| A D | vxfs_super.c | 97 fc->sb_flags |= SB_RDONLY; in vxfs_reconfigure() 131 int silent = fc->sb_flags & SB_SILENT; in vxfs_try_sb_magic() 191 int silent = fc->sb_flags & SB_SILENT; in vxfs_fill_super()
|
| /linux/fs/btrfs/ |
| A D | super.c | 428 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param() 431 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param() 1524 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure() 1539 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure() 1890 if ((fc->sb_flags ^ sb->s_flags) & SB_RDONLY) in btrfs_get_tree_super() 1991 const bool ro2rw = !(fc->sb_flags & SB_RDONLY); in btrfs_reconfigure_for_mount() 1999 fc->sb_flags |= SB_RDONLY; in btrfs_reconfigure_for_mount() 2001 fc->sb_flags &= ~SB_RDONLY; in btrfs_reconfigure_for_mount() 2011 fc->sb_flags &= ~SB_RDONLY; in btrfs_reconfigure_for_mount() 2181 fc->sb_flags |= SB_POSIXACL; in btrfs_init_fs_context() [all …]
|
| /linux/include/uapi/linux/ |
| A D | dlm.h | 65 char sb_flags; member
|
| A D | mount.h | 162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
|
| /linux/include/trace/events/ |
| A D | dlm.h | 223 TP_PROTO(__u32 ls_id, __u32 lkb_id, __u8 sb_flags, int sb_status, 226 TP_ARGS(ls_id, lkb_id, sb_flags, sb_status, res_name, res_length), 231 __field(__u8, sb_flags) 239 __entry->sb_flags = sb_flags; 248 show_dlm_sb_flags(__entry->sb_flags), __entry->sb_status,
|
| /linux/fs/romfs/ |
| A D | super.c | 420 fc->sb_flags |= SB_RDONLY; in romfs_reconfigure() 499 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super() 513 if (!(fc->sb_flags & SB_SILENT)) in romfs_fill_super()
|
| /linux/drivers/md/ |
| A D | md.c | 2830 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in add_bound_rdev() 4063 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in level_store() 6238 if (mddev->sb_flags) in md_run() 6374 mddev->sb_flags = 0; in md_clean() 6421 mddev->sb_flags)) { in __md_stop_writes() 7096 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in hot_remove_disk() 7162 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in hot_add_disk() 7327 mddev->sb_flags = 0; in md_set_array_info() 9246 set_mask_bits(&mddev->sb_flags, 0, in md_do_sync() 9679 if (mddev->sb_flags) in md_check_recovery() [all …]
|
| A 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/fs/sysfs/ |
| A D | mount.c | 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| A D | mount.h | 162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
|
| /linux/drivers/mtd/ |
| A D | mtdsuper.c | 162 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
|
| /linux/fs/nilfs2/ |
| A D | super.c | 1137 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure() 1139 if (fc->sb_flags & SB_RDONLY) { in nilfs_reconfigure() 1202 if (ctx->cno && !(fc->sb_flags & SB_RDONLY)) { in nilfs_get_tree() 1218 err = setup_bdev_super(s, fc->sb_flags, fc); in nilfs_get_tree() 1227 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in nilfs_get_tree()
|
| /linux/fs/qnx4/ |
| A D | inode.c | 52 fc->sb_flags |= SB_RDONLY; in qnx4_reconfigure() 198 int silent = fc->sb_flags & SB_SILENT; in qnx4_fill_super()
|
| /linux/fs/qnx6/ |
| A D | inode.c | 61 fc->sb_flags |= SB_RDONLY; in qnx6_reconfigure() 211 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug() 306 int silent = fc->sb_flags & SB_SILENT; in qnx6_fill_super()
|
| /linux/fs/xfs/ |
| A D | xfs_super.c | 1017 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags() 1513 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super() 1515 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super() 1517 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super() 1544 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super() 1946 int flags = fc->sb_flags; in xfs_fs_reconfigure() 1951 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
|
| /linux/fs/minix/ |
| A D | inode.c | 124 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in minix_reconfigure() 126 if (fc->sb_flags & SB_RDONLY) { in minix_reconfigure() 183 int silent = fc->sb_flags & SB_SILENT; in minix_fill_super()
|
| /linux/Documentation/filesystems/ |
| A 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/fs/xfs/libxfs/ |
| A D | xfs_sb.c | 659 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk() 806 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
|
| /linux/fs/nfs/ |
| A D | super.c | 1065 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure() 1141 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options() 1311 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common() 1315 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
|