/third_party/toybox/porting/liteos_a/toys/lsb/ |
H A D | mount.c | 95 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY}, in flag_opts() 227 if (!rc || (errno != EACCES && errno != EROFS) || (flags&MS_RDONLY)) in mount_filesystem() 241 flags |= MS_RDONLY; in mount_filesystem() 258 (flags&MS_RDONLY) ? "-fsr" : "-fs", dev, 0}); in mount_filesystem()
|
/third_party/toybox/toys/lsb/ |
H A D | mount.c | 99 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY}, in flag_opts() 240 if (!rc || (errno != EACCES && errno != EROFS) || (flags&MS_RDONLY)) in mount_filesystem() 254 flags |= MS_RDONLY; in mount_filesystem() 271 (flags&MS_RDONLY) ? "-fsr" : "-fs", dev, 0}); in mount_filesystem()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 57 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 56 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 56 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 57 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 56 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/musl/include/sys/ |
H A D | mount.h | 26 #define MS_RDONLY 1 macro 57 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|MS_LAZYTIME)
|
/third_party/libfuse/lib/ |
H A D | mount.c | 34 #define MS_RDONLY MNT_RDONLY macro 144 {"rw", MS_RDONLY, 0}, 145 {"ro", MS_RDONLY, 1}, 574 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1) in get_mnt_flag_opts()
|
/third_party/NuttX/fs/driver/ |
H A D | fs_findblockdriver.c | 45 * mountflags - If MS_RDONLY is not set, then driver must support write 54 * EACCESS - The MS_RDONLY option was not set but this driver does not 86 if (i_bops == NULL || i_bops->read == NULL || (i_bops->write == NULL && (mountflags & MS_RDONLY) == 0)) in find_blockdriver()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
H A D | pidns03.c | 24 SAFE_MOUNT("none", PROCDIR, "proc", MS_RDONLY, NULL); in child_func()
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_open.c | 196 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY) && in fp_open() 227 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) in fp_open()
|
H A D | fs_rmdir.c | 46 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) in check_target()
|
H A D | fs_unlink.c | 45 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) in check_target()
|
H A D | fs_link.c | 96 if ((mount != NULL) && (mount->mountFlags & MS_RDONLY))
in do_link()
|
H A D | fs_mkdir.c | 103 if ((mount != NULL) && (mount->mountFlags & MS_RDONLY)) in do_mkdir()
|
H A D | fs_symlink.c | 142 if ((mount != NULL) && (mount->mountFlags & MS_RDONLY))
in do_symlink()
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03.c | 15 * - MS_RDONLY - mount read-only 181 {FLAG_DESC(MS_RDONLY), test_rdonly}, 184 {MS_RDONLY, FLAG_DESC2(MS_REMOUNT), test_remount},
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl04.c | 58 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fusermount.c | 223 {"rw", MS_RDONLY, 0, 1}, 224 {"ro", MS_RDONLY, 1, 1}, 284 if (!(flags & MS_RDONLY) && add_option(mnt_optsp, "rw", 0) == -1) in get_mnt_opts()
|
H A D | mount.c | 197 {"rw", MS_RDONLY, 0}, 198 {"ro", MS_RDONLY, 1}, 599 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1) in get_mnt_flag_opts()
|
/third_party/NuttX/drivers/bch/ |
H A D | bchlib_setup.c | 67 ret = open_blockdriver(blkdev, readonly ? MS_RDONLY : 0, &bch->vnode); in bchlib_setup()
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown03.c | 112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/mknod/ |
H A D | mknod07.c | 134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
H A D | rename11.c | 152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in test_erofs()
|