Home
last modified time | relevance | path

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

1234

/linux-6.15/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()
1621 fc->sb_flags |= SB_NOSEC; in get_tree_bdev_flags()
1628 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev_flags()
[all …]
/linux-6.15/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_flags, sb_status, 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-6.15/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,
159 int setup_bdev_super(struct super_block *sb, int sb_flags,
H A Dqnx6_fs.h100 __fs32 sb_flags; member
/linux-6.15/fs/hfs/
H A Dsuper.c120 fc->sb_flags |= SB_NODIRATIME; in hfs_reconfigure()
121 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_reconfigure()
124 if (!(fc->sb_flags & SB_RDONLY)) { in hfs_reconfigure()
128 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure()
132 fc->sb_flags |= SB_RDONLY; in hfs_reconfigure()
319 int silent = fc->sb_flags & SB_SILENT; in hfs_fill_super()
/linux-6.15/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-6.15/fs/hfsplus/
H A Dsuper.c341 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfsplus_reconfigure()
343 if (!(fc->sb_flags & SB_RDONLY)) { in hfsplus_reconfigure()
350 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure()
357 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure()
362 fc->sb_flags |= SB_RDONLY; in hfsplus_reconfigure()
389 int silent = fc->sb_flags & SB_SILENT; in hfsplus_fill_super()
/linux-6.15/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-6.15/fs/affs/
H A Dsuper.c313 int silent = fc->sb_flags & SB_SILENT; in affs_fill_super()
526 fc->sb_flags |= SB_NODIRATIME; in affs_reconfigure()
548 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in affs_reconfigure()
551 if (fc->sb_flags & SB_RDONLY) in affs_reconfigure()
554 res = affs_init_bitmap(sb, &fc->sb_flags); in affs_reconfigure()
/linux-6.15/fs/btrfs/
H A Dsuper.c270 return sb_open_mode(fc->sb_flags) & ~BLK_OPEN_RESTRICT_WRITES; in btrfs_open_mode()
427 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param()
430 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param()
1519 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure()
1525 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure()
1540 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1542 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1552 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure()
1995 if (fc->sb_flags & SB_RDONLY) in btrfs_reconfigure_for_mount()
2170 fc->sb_flags |= SB_POSIXACL; in btrfs_init_fs_context()
[all …]
/linux-6.15/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-6.15/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-6.15/drivers/md/
H A Dmd.c2841 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in add_bound_rdev()
4070 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in level_store()
6236 if (mddev->sb_flags) in md_run()
6372 mddev->sb_flags = 0; in md_clean()
6419 mddev->sb_flags)) { in __md_stop_writes()
7093 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in hot_remove_disk()
7159 set_bit(MD_SB_CHANGE_DEVS, &mddev->sb_flags); in hot_add_disk()
7324 mddev->sb_flags = 0; in md_set_array_info()
9264 set_mask_bits(&mddev->sb_flags, 0, in md_do_sync()
9697 if (mddev->sb_flags) in md_check_recovery()
[all …]
/linux-6.15/fs/sysfs/
H A Dmount.c60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h162 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
/linux-6.15/drivers/mtd/
H A Dmtdsuper.c162 if (!(fc->sb_flags & SB_SILENT)) in get_tree_mtd()
/linux-6.15/samples/vfs/
H A Dsamples-vfs.h25 __u32 sb_flags; /* SB_{RDONLY,SYNCHRONOUS,DIRSYNC,LAZYTIME} */ member
/linux-6.15/fs/qnx6/
H A Dinode.c61 fc->sb_flags |= SB_RDONLY; in qnx6_reconfigure()
208 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug()
303 int silent = fc->sb_flags & SB_SILENT; in qnx6_fill_super()
/linux-6.15/fs/nilfs2/
H A Dsuper.c1145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure()
1147 if (fc->sb_flags & SB_RDONLY) { in nilfs_reconfigure()
1210 if (ctx->cno && !(fc->sb_flags & SB_RDONLY)) { in nilfs_get_tree()
1226 err = setup_bdev_super(s, fc->sb_flags, fc); in nilfs_get_tree()
1235 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in nilfs_get_tree()
/linux-6.15/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-6.15/fs/hpfs/
H A Dsuper.c434 fc->sb_flags |= SB_NOATIME; in hpfs_reconfigure()
452 if (!(fc->sb_flags & SB_RDONLY)) mark_dirty(s, 1); in hpfs_reconfigure()
513 int silent = fc->sb_flags & SB_SILENT; in hpfs_fill_super()
/linux-6.15/fs/adfs/
H A Dsuper.c168 fc->sb_flags |= ADFS_SB_FLAGS; in adfs_reconfigure()
345 int silent = fc->sb_flags & SB_SILENT; in adfs_fill_super()

1234