Home
last modified time | relevance | path

Searched refs:MS_RDONLY (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A 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/include/uapi/linux/
H A 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-6.6/prebuilts/usr/include/linux/
H A 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/patches/linux-5.10/prebuilts/usr/include/linux/
H A 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-6.6/include/uapi/linux/
H A Dmount.h13 #define MS_RDONLY 1 /* Mount read-only */ macro
52 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dmount.h13 #define MS_RDONLY 1 /* Mount read-only */ macro
52 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H A 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/linux/linux-6.6/tools/testing/selftests/firmware/
H A 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/
H A Dmount.h38 #define MS_RDONLY 1 macro
/kernel/linux/linux-6.6/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c257 mnt_flags |= MS_RDONLY; in read_mnt_flags()
423 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP()
521 expected_flags |= MS_RDONLY; in TEST_F()
553 expected_flags |= MS_RDONLY; in TEST_F()
589 expected_flags |= MS_RDONLY; in TEST_F()
611 expected_flags &= ~MS_RDONLY; in TEST_F()
743 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F()
750 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F()
938 expected_flags |= MS_RDONLY; in TEST_F()
1048 MS_RELATIME | MS_NOEXEC | MS_RDONLY, in FIXTURE_SETUP()
[all...]
/kernel/linux/linux-6.6/init/
H A Ddo_mounts.c31 int root_mountflags = MS_RDONLY | MS_SILENT;
48 root_mountflags |= MS_RDONLY; in readonly()
56 root_mountflags &= ~MS_RDONLY; in readwrite()
H A Ddo_mounts_initrd.c99 root_mountflags & ~MS_RDONLY); in handle_initrd()
/kernel/liteos_a/fs/vfs/operation/
H A Dvfs_chattr.c74 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) { in chattr()
H A Dvfs_utime.c83 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) { in utime()
/kernel/liteos_a/fs/include/fs/
H A Dmount.h38 #define MS_RDONLY 1 macro
/kernel/liteos_a/fs/patchfs/
H A Dlos_patchfs.c81 ret = mount(devName, PATCHFS_MOUNT_POINT, partInfo.fsType, MS_RDONLY, NULL); in OsMountPatchFs()
/kernel/linux/linux-5.10/init/
H A Ddo_mounts.c31 int root_mountflags = MS_RDONLY | MS_SILENT;
49 root_mountflags |= MS_RDONLY; in readonly()
57 root_mountflags &= ~MS_RDONLY; in readwrite()
H A 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/
H A Dunprivileged-remount-test.c133 mnt_flags |= MS_RDONLY; in read_mnt_flags()
321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
322 die("MS_RDONLY malfunctions\n"); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c133 mnt_flags |= MS_RDONLY; in read_mnt_flags()
321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
322 die("MS_RDONLY malfunctions\n"); in main()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfs.h65 #define MS_RDONLY 1 macro
96 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Datags_parse.c57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Datags_parse.c57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
/kernel/uniproton/src/fs/vfs/
H A Dvfs_mount.c205 mp->mWriteEnable = (mountflags & MS_RDONLY) ? FALSE : TRUE; in OsVfsMount()
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dsetup.c297 root_mountflags &= ~MS_RDONLY; in setup_arch()

Completed in 14 milliseconds

12