/third_party/toybox/porting/liteos_a/toys/lsb/ |
D | mount.c | 95 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY}, 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()
|
D | umount.c | 67 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
|
/third_party/toybox/toys/lsb/ |
D | mount.c | 99 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY}, 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/uniproton/kernel/include/sys/ |
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_newlib/kernel/include/sys/ |
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_a/kernel/include/sys/ |
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/ndk_musl_include/sys/ |
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_m/kernel/include/sys/ |
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_m_iccarm/kernel/include/sys/ |
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/ |
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/ |
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/vfs/ |
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()
|
D | fs_rmdir.c | 46 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) in check_target()
|
D | fs_unlink.c | 45 if ((vnode->originMount) && (vnode->originMount->mountFlags & MS_RDONLY)) in check_target()
|
/third_party/NuttX/fs/driver/ |
D | fs_findblockdriver.c | 86 …if (i_bops == NULL || i_bops->read == NULL || (i_bops->write == NULL && (mountflags & MS_RDONLY) =… in find_blockdriver()
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 74 MS_RDONLY, 78 MS_RDONLY,
|
/third_party/ntfs-3g/libfuse-lite/ |
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()
|
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/ltp/testcases/kernel/containers/pidns/ |
D | pidns03.c | 61 if (mount("none", PROCDIR, "proc", MS_RDONLY, NULL) == -1) { in child_func()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl04.c | 58 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
|
/third_party/NuttX/drivers/bch/ |
D | bchlib_setup.c | 67 ret = open_blockdriver(blkdev, readonly ? MS_RDONLY : 0, &bch->vnode); in bchlib_setup()
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 319 if (mount(dev_ram_path, "/tmp/mount/", "ext2", MS_RDONLY, NULL) in main() 351 if (mount(dev_ram_path, "/tmp/mount/", "ext2", MS_RDONLY, NULL) in main()
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL); in setup()
|
/third_party/rust/crates/nix/src/mount/ |
D | linux.rs | 9 MS_RDONLY;
|
/third_party/ltp/testcases/kernel/syscalls/rename/ |
D | rename11.c | 152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in test_erofs()
|