Home
last modified time | relevance | path

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

123

/linux/fs/
H A Dfs_context.c67 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 …]
H A Dsuper.c760 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()
1620 fc->sb_flags |= SB_NOSEC; in get_tree_bdev()
1627 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
[all …]
/linux/fs/dlm/
H A Dast.c22 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()
H A Duser.c71 __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/
H A Dfs_context.h104 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,
H A Dqnx6_fs.h100 __fs32 sb_flags; member
/linux/fs/btrfs/
H A Dsuper.c271 return sb_open_mode(fc->sb_flags) & ~BLK_OPEN_RESTRICT_WRITES; in btrfs_open_mode()
419 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param()
422 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param()
1502 !btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) in btrfs_reconfigure()
1505 ret = btrfs_check_features(fs_info, !(fc->sb_flags & SB_RDONLY)); in btrfs_reconfigure()
1510 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure()
1516 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure()
1531 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1533 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1543 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure()
[all …]
/linux/fs/freevxfs/
H A Dvxfs_super.c97 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/include/uapi/linux/
H A Ddlm.h65 char sb_flags; member
H A Dmount.h162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
/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/romfs/
H A Dsuper.c420 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/
H A Dmd.c923 set_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags); in super_written()
980 if (test_and_clear_bit(MD_SB_NEED_REWRITE, &mddev->sb_flags)) in md_super_wait()
2525 set_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in set_in_sync()
2610 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2616 if (test_and_clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags)) in md_update_sb()
2618 if (test_and_clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags)) in md_update_sb()
2625 bit_clear_unless(&mddev->sb_flags, BIT(MD_SB_CHANGE_PENDING), in md_update_sb()
2651 clear_bit(MD_SB_CHANGE_CLEAN, &mddev->sb_flags); in md_update_sb()
2652 clear_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in md_update_sb()
2654 clear_bit(MD_SB_CHANGE_PENDING, &mddev->sb_flags); in md_update_sb()
[all …]
H A Ddm-cache-metadata.c472 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/
H A Dmount.c60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
/linux/tools/include/uapi/linux/
H A Dmount.h
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
/linux/drivers/mtd/
H A Dmtdsuper.c162 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
/linux/fs/qnx4/
H A Dinode.c52 fc->sb_flags |= SB_RDONLY; in qnx4_reconfigure()
198 int silent = fc->sb_flags & SB_SILENT; in qnx4_fill_super()
/linux/fs/qnx6/
H A Dinode.c61 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/Documentation/filesystems/
H A Dmount_api.rst79 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/minix/
H A Dinode.c124 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/fs/nfs/
H A Dsuper.c1057 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_reconfigure()
1133 if ((s->s_flags & NFS_SB_MASK) != (fc->sb_flags & NFS_SB_MASK)) in nfs_compare_mount_options()
1303 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
1307 fc->sb_flags |= SB_SYNCHRONOUS; in nfs_get_tree_common()
/linux/fs/erofs/
H A Dsuper.c735 fc->sb_flags |= SB_POSIXACL; in erofs_fc_reconfigure()
737 fc->sb_flags &= ~SB_POSIXACL; in erofs_fc_reconfigure()
741 fc->sb_flags |= SB_RDONLY; in erofs_fc_reconfigure()
/linux/fs/ntfs3/
H A Dsuper.c374 fc->sb_flags |= SB_POSIXACL; in ntfs_fs_parse_param()
380 fc->sb_flags &= ~SB_POSIXACL; in ntfs_fs_parse_param()
409 fc->sb_flags |= SB_RDONLY; in ntfs_fs_reconfigure()
413 ro_rw = sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY); in ntfs_fs_reconfigure()
1804 fc->sb_flags |= SB_RDONLY; in ntfs_legacy_init_fs_context()

123