Home
last modified time | relevance | path

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

123

/linux/fs/
H A Dfs_context.c53 fc->sb_flags |= token; in vfs_parse_sb_flag()
60 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
260 unsigned int sb_flags, in alloc_fs_context() argument
272 fc->sb_flags = sb_flags; in alloc_fs_context()
307 unsigned int sb_flags) in fs_context_for_mount() argument
309 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount()
315 unsigned int sb_flags, in fs_context_for_reconfigure() argument
322 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
546 fc->sb_flags = 0; in vfs_clean_context()
H A Dsuper.c846 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
1042 bool force = fc->sb_flags & SB_FORCE;
1055 if (!(fc->sb_flags & SB_RDONLY) && sb->s_bdev && in user_get_super()
1059 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in user_get_super()
1060 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb);
1108 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super()
1734 int setup_bdev_super(struct super_block *sb, int sb_flags,
1737 blk_mode_t mode = sb_open_mode(sb_flags);
1806 fc->sb_flags |= SB_NOSEC; in setup_bdev_super()
1813 if ((fc->sb_flags in setup_bdev_super()
1795 setup_bdev_super(struct super_block * sb,int sb_flags,struct fs_context * fc) setup_bdev_super() argument
[all...]
H A Dfailfs.c134 fc->sb_flags |= SB_NOUSER; in failfs_init_fs_context()
H A Dnullfs.c176 fc->sb_flags |= SB_NOUSER; in nullfs_init_fs_context()
/linux/include/linux/
H A Dfs_context.h104 unsigned int sb_flags; /* Proposed superblock flags (SB_*) */ member
128 unsigned int sb_flags);
130 unsigned int sb_flags,
168 int setup_bdev_super(struct super_block *sb, int sb_flags,
H A Dqnx6_fs.h100 __fs32 sb_flags; member
/linux/include/uapi/linux/
H A Ddlm.h65 char sb_flags; member
H A Dmount.h165 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
/linux/fs/btrfs/
H A Dsuper.c456 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param()
459 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param()
1505 if (!btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) { in btrfs_reconfigure()
1510 ret = btrfs_check_features(fs_info, !(fc->sb_flags & SB_RDONLY)); in btrfs_reconfigure()
1515 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure()
1521 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure()
1532 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1534 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1544 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure()
1859 blk_mode_t mode = sb_open_mode(fc->sb_flags); in btrfs_fc_test_super()
[all...]
/linux/include/trace/events/
H A Ddlm.h223 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/dlm/
H A Duser.c72 __u8 sb_flags;
143 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output()
871 cb->lkb_lksb->sb_flags = cb->sb_flags; in device_poll()
873 cb->sb_flags, cb->res_name, cb->res_length); in device_poll()
71 __u8 sb_flags; global() member
/linux/drivers/md/
H A Dmd.c1117 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags);
1185 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in sync_page_io()
2736 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in sync_sbs()
2821 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2830 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb()
2832 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb()
2839 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2865 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb()
2866 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2868 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
[all...]
/linux/fs/nfs/
H A Dnamespace.c185 fc->sb_flags &= ~NFS_SB_MASK; in nfs_d_automount()
186 fc->sb_flags |= s_flags & NFS_SB_MASK; in nfs_d_automount()
/linux/tools/include/uapi/linux/
H A Dmount.h164 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */
162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ global() member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h165 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */
164 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ global() member
/linux/fs/adfs/
H A Dsuper.c165 fc->sb_flags |= ADFS_SB_FLAGS; in adfs_reconfigure()
345 int silent = fc->sb_flags & SB_SILENT; in adfs_fill_super()
/linux/fs/xfs/
H A Dxfs_super.c1130 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !xfs_is_readonly(mp)) { in xfs_finish_flags()
1717 if (fc->sb_flags & SB_RDONLY) in xfs_fs_fill_super()
1719 if (fc->sb_flags & SB_DIRSYNC) in xfs_fs_fill_super()
1721 if (fc->sb_flags & SB_SYNCHRONOUS) in xfs_fs_fill_super()
1751 if (fc->sb_flags & SB_SILENT) in xfs_fs_fill_super()
2189 int flags = fc->sb_flags; in xfs_fs_reconfigure()
2196 fc->sb_flags |= SB_I_VERSION; in xfs_fs_reconfigure()
/linux/fs/minix/
H A Dinode.c145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in minix_reconfigure()
147 if (fc->sb_flags & SB_RDONLY) { in minix_reconfigure()
232 int silent = fc->sb_flags & SB_SILENT; in minix_fill_super()
/linux/samples/vfs/
H A Dmountinfo.c162 show_sb_flags(buf->sb_flags); in dump_mountinfo()
/linux/fs/squashfs/
H A Dsuper.c235 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super()
503 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/linux/fs/smb/client/
H A Dcifsfs.c1106 cifs_dbg(FYI, "%s: devname=%s sb_flags=0x%x\n", __func__, in cifs_llseek()
1107 old_ctx->source, fc->sb_flags); in cifs_llseek()
1134 if (!(fc->sb_flags & SB_SILENT)) in cifs_llseek()
1146 * sb->s_flags is set from fc->sb_flags by alloc_super(). CIFS has in cifs_setlease()
1149 * overriding fc->sb_flags around the sget_fc() call. in cifs_setlease()
1156 saved_sb_flags = fc->sb_flags; in cifs_setlease()
1157 fc->sb_flags = SB_NODIRATIME | SB_NOATIME; in cifs_setlease()
1163 fc->sb_flags = saved_sb_flags; in cifs_setlease()
/linux/fs/ceph/
H A Dsuper.c579 fc->sb_flags |= SB_POSIXACL; in ceph_parse_mount_param()
584 fc->sb_flags &= ~SB_POSIXACL; in ceph_parse_mount_param()
1283 if (fc->sb_flags != (sb->s_flags & ~SB_BORN)) { in ceph_compare_super()
1513 fc->sb_flags |= SB_POSIXACL;
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c847 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
959 * of superblock that do not have pquotino. from->sb_flags in xfs_sb_quota_to_disk()
1025 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
/linux/fs/ntfs/
H A Dsuper.c242 fc->sb_flags |= SB_POSIXACL; in ntfs_parse_param()
244 fc->sb_flags &= ~SB_POSIXACL; in ntfs_parse_param()
312 if (!(fc->sb_flags & SB_FORCE)) in ntfs_reconfigure()
327 if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) {
361 } else if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) {
384 if (!(fc->sb_flags & SB_FORCE) || NVolErrors(vol)) { in ntfs_write_volume_flags()
2647 int silent = fc->sb_flags & SB_SILENT; in init_ntfs_fs()
/linux/fs/erofs/
H A Dsuper.c913 fc->sb_flags |= SB_POSIXACL;
915 fc->sb_flags &= ~SB_POSIXACL; in erofs_init_fs_context()
919 fc->sb_flags |= SB_RDONLY; in erofs_init_fs_context()

123