Home
last modified time | relevance | path

Searched refs:MNT_READONLY (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dmount.h32 #define MNT_READONLY 0x40 /* does the user want this to be r/o? */ macro
50 | MNT_READONLY | MNT_NOSYMFOLLOW)
/kernel/linux/linux-5.10/fs/
Dnamespace.c249 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
494 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
508 mnt->mnt.mnt_flags &= ~MNT_READONLY; in __mnt_unmake_readonly()
524 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2006 if (flags & MNT_READONLY) in lock_mnt_tree()
2504 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2528 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3198 mnt_flags |= MNT_READONLY; in path_mount()
3493 mnt_flags |= MNT_READONLY; in SYSCALL_DEFINE3()
3987 !(new_flags & MNT_READONLY)) in mnt_already_visible()
Dproc_namespace.c156 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
Dstatfs.c18 if (mnt_flags & MNT_READONLY) in flags_by_mnt()
/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c1652 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()