/Linux-v5.4/fs/ |
D | fs_context.c | 95 fc->sb_flags |= token; in vfs_parse_sb_flag() 102 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 253 unsigned int sb_flags, in alloc_fs_context() argument 266 fc->sb_flags = sb_flags; in alloc_fs_context() 305 unsigned int sb_flags) in fs_context_for_mount() argument 307 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount() 313 unsigned int sb_flags, in fs_context_for_reconfigure() argument 316 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure() 647 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree() 670 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure() [all …]
|
D | super.c | 528 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 906 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super() 919 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super() 923 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super() 966 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super() 1284 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev() 1308 fc->sb_flags |= SB_NOSEC; in get_tree_bdev() 1319 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
|
D | namespace.c | 944 if (fc->sb_flags & SB_KERNMOUNT) in vfs_create_mount() 2527 static int do_remount(struct path *path, int ms_flags, int sb_flags, in do_remount() argument 2544 fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK); in do_remount() 2781 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument 2807 fc = fs_context_for_mount(type, sb_flags); in do_new_mount() 3065 unsigned int mnt_flags = 0, sb_flags; in do_mount() local 3121 sb_flags = flags & (SB_RDONLY | in do_mount() 3133 retval = do_remount(&path, flags, sb_flags, mnt_flags, in do_mount() 3142 retval = do_new_mount(&path, type_page, sb_flags, mnt_flags, in do_mount() 3452 if ((fc->sb_flags & SB_MANDLOCK) && !may_mandlock()) in SYSCALL_DEFINE3()
|
/Linux-v5.4/fs/dlm/ |
D | ast.c | 30 lkb->lkb_last_bast.sb_flags); in dlm_dump_lkb_callbacks() 38 lkb->lkb_last_cast.sb_flags); in dlm_dump_lkb_callbacks() 47 lkb->lkb_callbacks[i].sb_flags); in dlm_dump_lkb_callbacks() 95 lkb->lkb_callbacks[i].sb_flags = (sbflags & 0x000000FF); in dlm_add_lkb_callback() 259 lkb->lkb_lksb->sb_flags = callbacks[i].sb_flags; in dlm_callback_work()
|
D | user.c | 68 __u8 sb_flags; member 139 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 874 lkb->lkb_lksb->sb_flags = cb.sb_flags; in device_read()
|
D | dlm_internal.h | 227 uint8_t sb_flags; /* copy to lksb flags */ member
|
/Linux-v5.4/include/linux/ |
D | fs_context.h | 100 unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ member 123 unsigned int sb_flags); 125 unsigned int sb_flags,
|
D | qnx6_fs.h | 100 __fs32 sb_flags; member
|
/Linux-v5.4/include/uapi/linux/ |
D | dlm.h | 65 char sb_flags; member
|
/Linux-v5.4/fs/ceph/ |
D | super.c | 400 fsopt->sb_flags |= SB_POSIXACL; in parse_fsopt_token() 404 fsopt->sb_flags &= ~SB_POSIXACL; in parse_fsopt_token() 480 fsopt->sb_flags = flags; in parse_mount_options() 590 if (fsopt->sb_flags & SB_POSIXACL) in ceph_show_options() 997 s->s_flags = fsc->mount_options->sb_flags; in ceph_set_super() 1046 if (fsopt->sb_flags != other->mount_options->sb_flags) { in ceph_compare_super()
|
/Linux-v5.4/drivers/md/ |
D | md.c | 850 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written() 904 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait() 2442 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync() 2525 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2531 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb() 2533 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb() 2540 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb() 2566 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb() 2567 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb() 2569 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb() [all …]
|
D | dm-cache-metadata.c | 470 unsigned long sb_flags; in __open_metadata() local 505 sb_flags = le32_to_cpu(disk_super->flags); in __open_metadata() 506 cmd->clean_when_opened = test_bit(CLEAN_SHUTDOWN, &sb_flags); in __open_metadata() 562 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags() local 563 disk_super->flags = cpu_to_le32(sb_flags); in update_flags()
|
D | raid10.c | 1331 set_mask_bits(&mddev->sb_flags, 0, in raid10_write_request() 1336 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)); in raid10_write_request() 1664 set_mask_bits(&mddev->sb_flags, 0, in raid10_error() 2724 !test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d() 2727 if (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in raid10d() 2780 if (mddev->sb_flags & ~(1<<MD_SB_CHANGE_PENDING)) in raid10d() 4329 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in raid10_start_reshape() 4525 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in reshape_request() 4527 wait_event(mddev->sb_wait, mddev->sb_flags == 0 || in reshape_request()
|
D | md-multipath.c | 205 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in multipath_error()
|
/Linux-v5.4/fs/sysfs/ |
D | mount.c | 60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
|
/Linux-v5.4/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-v5.4/drivers/mtd/ |
D | mtdsuper.c | 189 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
|
/Linux-v5.4/fs/squashfs/ |
D | super.c | 114 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super() 354 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
|
/Linux-v5.4/Documentation/filesystems/ |
D | mount_api.txt | 79 unsigned int sb_flags; 144 (*) unsigned int sb_flags 219 will have been weeded out and fc->sb_flags updated in the context. 352 unsigned int sb_flags); 360 sb_flags presets the superblock flags stored therein. 364 unsigned int sb_flags, 369 configured. sb_flags and sb_flags_mask indicate which superblock flags
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_sb.c | 490 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk() 631 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
|
/Linux-v5.4/fs/gfs2/ |
D | ops_fstype.c | 1045 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super() 1491 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure() 1493 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure() 1494 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure() 1599 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
|
D | lock_dlm.c | 120 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast() 122 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast() 145 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
|
/Linux-v5.4/fs/jffs2/ |
D | fs.c | 413 if (!(fc->sb_flags & SB_RDONLY)) in jffs2_do_remount_fs() 416 fc->sb_flags |= SB_NOATIME; in jffs2_do_remount_fs()
|
/Linux-v5.4/fs/cramfs/ |
D | inode.c | 513 fc->sb_flags |= SB_RDONLY; in cramfs_reconfigure() 522 bool silent = fc->sb_flags & SB_SILENT; in cramfs_read_super()
|
/Linux-v5.4/fs/xfs/scrub/ |
D | agheader.c | 216 if (sb->sb_flags != mp->m_sb.sb_flags) in xchk_superblock()
|