/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 255 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in lo_mount() 265 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in lo_mount() 320 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) { in lo_mount() 346 !vfs_optionisset(vfsp, MNTOPT_RO, NULL)) in lo_mount() 347 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, in lo_mount()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_lofs.c | 121 if (hasmntopt(&mountTable[i], MNTOPT_RO) != NULL) { in findPathRWStatus() 261 int olen = sizeof (MNTOPT_RO) - 1; in z_resolve_lofs() 269 (cp = strstr(mnp->mnt_mntopts, MNTOPT_RO)) != in z_resolve_lofs()
|
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/ |
H A D | mount.c | 172 if ((strlen(obuff) + strlen(MNTOPT_RO) + 2) > MAX_MNTOPT_STR) { in main() 179 strcat(obuff, MNTOPT_RO); in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 198 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 236 !hasmntopt(&mntp, MNTOPT_RO) && in main() 306 !hasmntopt(&mntp, MNTOPT_RO)) { in preen() 335 hasmntopt(&mntp, MNTOPT_RO) || in preen() 724 hasmntopt(&mntp, MNTOPT_RO)) in quotactl()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 173 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 209 !hasmntopt(&mntp, MNTOPT_RO) && in main() 456 hasmntopt(&mntp, MNTOPT_RO)) in quotactl()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 170 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 225 !hasmntopt(&mntp, MNTOPT_RO) && in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mntent.h | 62 #define MNTOPT_RO "ro" /* Read only */ macro
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_vfs.c | 135 static char *rw_cancel[] = { MNTOPT_RO, NULL }; 154 { MNTOPT_RO, ro_cancel, NULL, 0, 614 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_RO, NULL, 0, 0); in fake_domount() 632 if (vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_RO, NULL)) { in fake_domount() 713 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in fake_domount() 749 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) in fake_domount()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 261 replace_opts(opts, ro, MNTOPT_RO, MNTOPT_RW); in main() 429 flags |= eatmntopt(mnt, MNTOPT_RO) ? MS_RDONLY : 0; in mountfs() 525 replace_opts(mnt->mnt_mntopts, 1, MNTOPT_RW, MNTOPT_RO); in mountfs()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 734 if (hasmntopt(mt, MNTOPT_RO) == NULL) { in construct_mt() 765 if (is_remote && hasopt(vfsent->vfs_mntopts, MNTOPT_RO)) in mod_existing() 835 if (is_remote && hasopt(vfsent->vfs_mntopts, MNTOPT_RO)) in construct_vfs()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | utilities.c | 537 if (hasmntopt(&mnt, MNTOPT_RO) != 0) in mounted() 570 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 393 optstr = MNTOPT_RO; in rlmount()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fslib.c | 525 MNTOPT_RO, MNTOPT_RW,
|
H A D | mount.c | 105 MNTOPT_RO,
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 169 static char *rw_cancel[] = { MNTOPT_RO, NULL }; 188 { MNTOPT_RO, ro_cancel, NULL, 0, 1257 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_RO, NULL, 0, 0); in domount() 1277 if (rdonly = vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_RO, NULL)) { in domount() 1650 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in domount() 1709 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) in domount()
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 80 MNTOPT_RO,
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 310 vfs_setmntopt(zfsvfs->z_vfs, MNTOPT_RO, NULL, 0); in readonly_changed_cb() 314 vfs_clearmntopt(zfsvfs->z_vfs, MNTOPT_RO); in readonly_changed_cb() 460 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL) || in zfs_register_callbacks() 1746 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in zfs_mount_label_policy()
|
H A D | zcp_get.c | 272 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) in get_temporary_prop()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 269 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) { in tmp_mount()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_mount.c | 366 if (hasmntopt(&m, MNTOPT_RO) != NULL)
|
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 530 static char *rw_cancel[] = { MNTOPT_RO, NULL };
|
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 853 ((cmd != Q_ALLSYNC) && hasmntopt(&mntp, MNTOPT_RO))) in quotactl()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 689 hasopt(MNTOPT_RO, mnt.mnt_mntopts)) in quotactl()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 531 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in smbfs_mount()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 1070 if (hasmntopt(mntent, MNTOPT_RO) != 0) in mounted() 1111 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|