Home
last modified time | relevance | path

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

12

/fs/
Dfs_context.c67 fc->sb_flags |= token; in vfs_parse_sb_flag()
74 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
249 unsigned int sb_flags, in alloc_fs_context() argument
262 fc->sb_flags = sb_flags; in alloc_fs_context()
302 unsigned int sb_flags) in fs_context_for_mount() argument
304 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount()
310 unsigned int sb_flags, in fs_context_for_reconfigure() argument
313 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
611 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree()
634 return sb->s_op->remount_fs(sb, &fc->sb_flags, in legacy_reconfigure()
[all …]
Dsuper.c540 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
866 bool force = fc->sb_flags & SB_FORCE; in reconfigure_super()
879 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in reconfigure_super()
883 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super()
884 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
935 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super()
1255 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1279 fc->sb_flags |= SB_NOSEC; in get_tree_bdev()
1290 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
Dnamespace.c978 if (fc->sb_flags & SB_KERNMOUNT) in vfs_create_mount()
2629 static int do_remount(struct path *path, int ms_flags, int sb_flags, in do_remount() argument
2646 fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK); in do_remount()
2958 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
2984 fc = fs_context_for_mount(type, sb_flags); in do_new_mount()
3263 unsigned int mnt_flags = 0, sb_flags; in path_mount() local
3315 sb_flags = flags & (SB_RDONLY | in path_mount()
3327 return do_remount(path, flags, sb_flags, mnt_flags, data_page); in path_mount()
3335 return do_new_mount(path, type_page, sb_flags, mnt_flags, dev_name, in path_mount()
3666 if (fc->sb_flags & SB_MANDLOCK) in SYSCALL_DEFINE3()
/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()
Ddlm_internal.h229 uint8_t sb_flags; /* copy to lksb flags */ member
/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()
/fs/xfs/
Dxfs_super.c981 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags()
1444 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super()
1446 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super()
1448 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super()
1475 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super()
1863 int flags = fc->sb_flags; in xfs_fs_reconfigure()
1868 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
/fs/sysfs/
Dmount.c60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
/fs/ceph/
Dsuper.c444 fc->sb_flags |= SB_POSIXACL; in ceph_parse_mount_param()
449 fc->sb_flags &= ~SB_POSIXACL; in ceph_parse_mount_param()
1019 if (fc->sb_flags != (sb->s_flags & ~SB_BORN)) { in ceph_compare_super()
1207 fc->sb_flags |= SB_POSIXACL; in ceph_init_fs_context()
/fs/erofs/
Dsuper.c724 fc->sb_flags |= SB_POSIXACL; in erofs_fc_reconfigure()
726 fc->sb_flags &= ~SB_POSIXACL; in erofs_fc_reconfigure()
730 fc->sb_flags |= SB_RDONLY; in erofs_fc_reconfigure()
/fs/squashfs/
Dsuper.c164 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super()
423 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/fs/xfs/libxfs/
Dxfs_sb.c587 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
734 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
Dxfs_format.h141 uint8_t sb_flags; /* misc. flags */ member
232 __u8 sb_flags; /* misc. flags */ member
/fs/nfs/
Dsuper.c1026 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure()
1097 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options()
1267 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
1271 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
/fs/gfs2/
Dops_fstype.c1145 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super()
1587 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure()
1589 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure()
1596 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure()
1700 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
Dlock_dlm.c125 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()
Dtrace_gfs2.h286 __entry->flags = gl->gl_lksb.sb_flags;
/fs/efivarfs/
Dsuper.c237 if (!efivar_supports_writes() && !(fc->sb_flags & SB_RDONLY)) { in efivarfs_reconfigure()
/fs/jffs2/
Dfs.c414 if (!(fc->sb_flags & SB_RDONLY)) in jffs2_do_remount_fs()
417 fc->sb_flags |= SB_NOATIME; in jffs2_do_remount_fs()
/fs/cramfs/
Dinode.c511 fc->sb_flags |= SB_RDONLY; in cramfs_reconfigure()
520 bool silent = fc->sb_flags & SB_SILENT; in cramfs_read_super()
/fs/ntfs3/
Dsuper.c336 fc->sb_flags |= SB_POSIXACL; in ntfs_fs_parse_param()
341 fc->sb_flags &= ~SB_POSIXACL; in ntfs_fs_parse_param()
371 ro_rw = sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY); in ntfs_fs_reconfigure()
/fs/xfs/scrub/
Dagheader.c228 if (sb->sb_flags != mp->m_sb.sb_flags) in xchk_superblock()
/fs/qnx6/
Dinode.c210 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug()
/fs/exfat/
Dsuper.c731 fc->sb_flags |= SB_NODIRATIME; in exfat_reconfigure()

12