Home
last modified time | relevance | path

Searched refs:MS_RDONLY (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/include/uapi/linux/
Dmount.h11 #define MS_RDONLY 1 /* Mount read-only */ macro
50 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dmount.h11 #define MS_RDONLY 1 /* Mount read-only */ macro
50 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmount.h21 #define MS_RDONLY 1 macro
53 #define MS_RMT_MASK (MS_RDONLY | MS_SYNCHRONOUS | MS_MANDLOCK | MS_I_VERSION | MS_LAZYTIME)
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
Dfw_namespace.c72 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns()
109 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dmount.h38 #define MS_RDONLY 1 macro
/kernel/liteos_a/fs/vfs/operation/
Dvfs_chattr.c74 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) { in chattr()
Dvfs_utime.c83 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) { in utime()
Dvfs_other.c307 if ((fsBuf.f_flags & MS_RDONLY) && ((unsigned int)amode & W_OK)) { in access()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfs.h65 #define MS_RDONLY 1 macro
96 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/liteos_a/fs/include/fs/
Dmount.h38 #define MS_RDONLY 1 macro
/kernel/linux/linux-5.10/init/
Ddo_mounts.c31 int root_mountflags = MS_RDONLY | MS_SILENT;
49 root_mountflags |= MS_RDONLY; in readonly()
57 root_mountflags &= ~MS_RDONLY; in readwrite()
Ddo_mounts_initrd.c78 mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); in handle_initrd()
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
Dunprivileged-remount-test.c133 mnt_flags |= MS_RDONLY; in read_mnt_flags()
321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
/kernel/liteos_a/fs/patchfs/
Dlos_patchfs.c81 ret = mount(devName, PATCHFS_MOUNT_POINT, partInfo.fsType, MS_RDONLY, NULL); in OsMountPatchFs()
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c296 root_mountflags &= ~MS_RDONLY; in setup_arch()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsetup_32.c352 root_mountflags &= ~MS_RDONLY; in setup_arch()
Dsetup_64.c658 root_mountflags &= ~MS_RDONLY; in setup_arch()
/kernel/linux/linux-5.10/arch/arm/kernel/
Datags_parse.c57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
/kernel/uniproton/src/fs/vfs/
Dvfs_mount.c205 mp->mWriteEnable = (mountflags & MS_RDONLY) ? FALSE : TRUE; in OsVfsMount()
/kernel/liteos_m/components/fs/vfs/
Dvfs_mount.c209 mp->mWriteEnable = (mountflags & MS_RDONLY) ? FALSE : TRUE; in VfsMountPointInit()
/kernel/liteos_a/fs/rootfs/
Dlos_rootfs.c194 *mountFlags = MS_RDONLY; in ParseRootArgs()
/kernel/liteos_a/fs/vfs/vfs_cmd/
Dvfs_shellcmd.c280 mountfalgs |= MS_RDONLY; in get_mountflags()
282 mountfalgs &= ~MS_RDONLY; in get_mountflags()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dsetup.c577 root_mountflags &= ~MS_RDONLY; in setup_arch()
/kernel/linux/linux-5.10/security/apparmor/
Dmount.c29 if (flags & MS_RDONLY) in audit_mnt_flags()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsetup.c897 root_mountflags &= ~MS_RDONLY; in setup_arch()

12