Home
last modified time | relevance | path

Searched refs:sb_flags (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.10/fs/
Dfs_context.c67 fc->sb_flags |= token; in vfs_parse_sb_flag()
74 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
226 unsigned int sb_flags, in alloc_fs_context() argument
239 fc->sb_flags = sb_flags; in alloc_fs_context()
279 unsigned int sb_flags) in fs_context_for_mount() argument
281 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount()
287 unsigned int sb_flags, in fs_context_for_reconfigure() argument
290 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
592 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree()
615 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure()
[all …]
Dsuper.c530 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
908 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super()
921 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super()
925 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
968 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super()
1288 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1312 fc->sb_flags |= SB_NOSEC; in get_tree_bdev()
1323 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
Dnamespace.c960 if (fc->sb_flags & SB_KERNMOUNT) in vfs_create_mount()
2585 static int do_remount(struct path *path, int ms_flags, int sb_flags, in do_remount() argument
2602 fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK); in do_remount()
2834 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
2860 fc = fs_context_for_mount(type, sb_flags); in do_new_mount()
3133 unsigned int mnt_flags = 0, sb_flags; in path_mount() local
3185 sb_flags = flags & (SB_RDONLY | in path_mount()
3197 return do_remount(path, flags, sb_flags, mnt_flags, data_page); in path_mount()
3205 return do_new_mount(path, type_page, sb_flags, mnt_flags, dev_name, in path_mount()
3521 if ((fc->sb_flags & SB_MANDLOCK) && !may_mandlock()) in SYSCALL_DEFINE3()
/Linux-v5.10/fs/dlm/
Dast.c30 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()
Duser.c68 __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()
/Linux-v5.10/include/linux/
Dfs_context.h104 unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ member
128 unsigned int sb_flags);
130 unsigned int sb_flags,
Dqnx6_fs.h100 __fs32 sb_flags; member
/Linux-v5.10/include/uapi/linux/
Ddlm.h65 char sb_flags; member
/Linux-v5.10/drivers/md/
Dmd.c966 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written()
1020 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait()
2617 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync()
2700 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2706 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb()
2708 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb()
2715 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2741 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb()
2742 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2744 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
[all …]
Ddm-cache-metadata.c470 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()
566 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags() local
567 disk_super->flags = cpu_to_le32(sb_flags); in update_flags()
Draid5-cache.c696 (!test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags) && in r5c_disable_writeback_async()
1336 set_mask_bits(&mddev->sb_flags, 0, in r5l_write_super_and_discard_space()
2436 if (test_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags)) { in r5c_recovery_flush_data_only_stripes()
2438 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2455 set_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in r5c_recovery_flush_data_only_stripes()
2532 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in r5l_write_super()
/Linux-v5.10/fs/sysfs/
Dmount.c60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
/Linux-v5.10/fs/erofs/
Dsuper.c419 fc->sb_flags |= SB_POSIXACL; in erofs_fc_reconfigure()
421 fc->sb_flags &= ~SB_POSIXACL; in erofs_fc_reconfigure()
425 fc->sb_flags |= SB_RDONLY; in erofs_fc_reconfigure()
/Linux-v5.10/fs/romfs/
Dsuper.c429 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.10/fs/xfs/
Dxfs_super.c992 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !ronly) { in xfs_finish_flags()
1423 if (fc->sb_flags & SB_SILENT) in xfs_fc_fill_super()
1752 int flags = fc->sb_flags; in xfs_fc_reconfigure()
1757 fc->sb_flags |= SB_I_VERSION; in xfs_fc_reconfigure()
1855 if (fc->sb_flags & SB_RDONLY) in xfs_init_fs_context()
1857 if (fc->sb_flags & SB_DIRSYNC) in xfs_init_fs_context()
1859 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_init_fs_context()
/Linux-v5.10/drivers/mtd/
Dmtdsuper.c189 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
/Linux-v5.10/fs/squashfs/
Dsuper.c114 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super()
354 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/Linux-v5.10/Documentation/filesystems/
Dmount_api.rst79 unsigned int sb_flags;
166 unsigned int sb_flags
254 will have been weeded out and fc->sb_flags updated in the context.
409 unsigned int sb_flags);
417 sb_flags presets the superblock flags stored therein.
423 unsigned int sb_flags,
428 configured. sb_flags and sb_flags_mask indicate which superblock flags
/Linux-v5.10/fs/ceph/
Dsuper.c443 fc->sb_flags |= SB_POSIXACL; in ceph_parse_mount_param()
448 fc->sb_flags &= ~SB_POSIXACL; in ceph_parse_mount_param()
1013 if (fc->sb_flags != (sb->s_flags & ~SB_BORN)) { in ceph_compare_super()
1190 fc->sb_flags |= SB_POSIXACL; in ceph_init_fs_context()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_sb.c523 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
664 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
/Linux-v5.10/fs/nfs/
Dsuper.c1009 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure()
1070 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options()
1237 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
1241 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
/Linux-v5.10/fs/gfs2/
Dops_fstype.c1084 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super()
1514 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure()
1516 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure()
1517 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure()
1622 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
Dlock_dlm.c122 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast()
124 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast()
149 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
/Linux-v5.10/fs/jffs2/
Dfs.c413 if (!(fc->sb_flags & SB_RDONLY)) in jffs2_do_remount_fs()
416 fc->sb_flags |= SB_NOATIME; in jffs2_do_remount_fs()
/Linux-v5.10/fs/cramfs/
Dinode.c513 fc->sb_flags |= SB_RDONLY; in cramfs_reconfigure()
522 bool silent = fc->sb_flags & SB_SILENT; in cramfs_read_super()

12