Home
last modified time | relevance | path

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

/fs/
Dfs_context.c95 fc->sb_flags |= token; in vfs_parse_sb_flag()
102 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
253 unsigned int sb_flags, in alloc_fs_context() argument
266 fc->sb_flags = sb_flags; in alloc_fs_context()
305 unsigned int sb_flags) in fs_context_for_mount() argument
307 return alloc_fs_context(fs_type, NULL, sb_flags, 0, in fs_context_for_mount()
313 unsigned int sb_flags, in fs_context_for_reconfigure() argument
316 return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags, in fs_context_for_reconfigure()
647 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree()
670 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()
1286 if (!(fc->sb_flags & SB_RDONLY)) in get_tree_bdev()
1310 fc->sb_flags |= SB_NOSEC; in get_tree_bdev()
1321 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in get_tree_bdev()
Dnamespace.c958 if (fc->sb_flags & SB_KERNMOUNT) in vfs_create_mount()
2549 static int do_remount(struct path *path, int ms_flags, int sb_flags, in do_remount() argument
2566 fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK); in do_remount()
2811 static int do_new_mount(struct path *path, const char *fstype, int sb_flags, in do_new_mount() argument
2837 fc = fs_context_for_mount(type, sb_flags); in do_new_mount()
3095 unsigned int mnt_flags = 0, sb_flags; in do_mount() local
3151 sb_flags = flags & (SB_RDONLY | in do_mount()
3163 retval = do_remount(&path, flags, sb_flags, mnt_flags, in do_mount()
3172 retval = do_new_mount(&path, type_page, sb_flags, mnt_flags, in do_mount()
3482 if ((fc->sb_flags & SB_MANDLOCK) && !may_mandlock()) in SYSCALL_DEFINE3()
Dlibfs.c306 fc->sb_flags |= SB_NOUSER; in init_pseudo()
/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.h227 uint8_t sb_flags; /* copy to lksb flags */ member
/fs/ceph/
Dsuper.c400 fsopt->sb_flags |= SB_POSIXACL; in parse_fsopt_token()
404 fsopt->sb_flags &= ~SB_POSIXACL; in parse_fsopt_token()
480 fsopt->sb_flags = flags; in parse_mount_options()
590 if (fsopt->sb_flags & SB_POSIXACL) in ceph_show_options()
997 s->s_flags = fsc->mount_options->sb_flags; in ceph_set_super()
1046 if (fsopt->sb_flags != other->mount_options->sb_flags) { in ceph_compare_super()
Dsuper.h77 int sb_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/sysfs/
Dmount.c60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
/fs/squashfs/
Dsuper.c114 if (!(fc->sb_flags & SB_SILENT)) in squashfs_fill_super()
354 fc->sb_flags |= SB_RDONLY; in squashfs_reconfigure()
/fs/xfs/libxfs/
Dxfs_sb.c490 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
631 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/gfs2/
Dops_fstype.c1045 int silent = fc->sb_flags & SB_SILENT; in gfs2_fill_super()
1491 fc->sb_flags |= SB_RDONLY; in gfs2_reconfigure()
1493 if ((sb->s_flags ^ fc->sb_flags) & SB_RDONLY) { in gfs2_reconfigure()
1494 if (fc->sb_flags & SB_RDONLY) { in gfs2_reconfigure()
1599 if ((fc->sb_flags ^ s->s_flags) & SB_RDONLY) { in gfs2_meta_get_tree()
Dlock_dlm.c120 BUG_ON(gl->gl_lksb.sb_flags & DLM_SBF_DEMOTED); in gdlm_ast()
122 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast()
145 if (gl->gl_lksb.sb_flags & DLM_SBF_ALTMODE) { in gdlm_ast()
Dtrace_gfs2.h287 __entry->flags = gl->gl_lksb.sb_flags;
/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()
/fs/cramfs/
Dinode.c513 fc->sb_flags |= SB_RDONLY; in cramfs_reconfigure()
522 bool silent = fc->sb_flags & SB_SILENT; in cramfs_read_super()
/fs/sdcardfs/
Dmain.c300 if (!(fc->sb_flags & SB_SILENT)) in __sdcardfs_fill_super()
/fs/xfs/scrub/
Dagheader.c216 if (sb->sb_flags != mp->m_sb.sb_flags) in xchk_superblock()
/fs/qnx6/
Dinode.c212 pr_debug("flags: %08x\n", fs32_to_cpu(sbi, sb->sb_flags)); in qnx6_superblock_debug()
/fs/ocfs2/
Dstack_user.c719 int invalid = lksb->lksb_fsdlm.sb_flags & DLM_SBF_VALNOTVALID; in user_dlm_lvb_valid()
/fs/xfs/
Dxfs_super.c1473 if ((mp->m_sb.sb_flags & XFS_SBF_READONLY) && !ronly) { in xfs_finish_flags()