Home
last modified time | relevance | path

Searched refs:MNTOPT_RO (Results 1 – 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/lofs/
H A Dlofs_vfsops.c255 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 Dzones_lofs.c121 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 Dmount.c172 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 Dquotacheck.c198 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 Drepquota.c173 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 Dquotaon.c170 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main()
225 !hasmntopt(&mntp, MNTOPT_RO) && in main()
/illumos-gate/usr/src/uts/common/sys/
H A Dmntent.h62 #define MNTOPT_RO "ro" /* Read only */ macro
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c135 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 Dmount.c261 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 Dmntinfo.c734 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 Dutilities.c537 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 Droll_log.c393 optstr = MNTOPT_RO; in rlmount()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c525 MNTOPT_RO, MNTOPT_RW,
H A Dmount.c105 MNTOPT_RO,
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c169 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 Dmount.c80 MNTOPT_RO,
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c310 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 Dzcp_get.c272 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) in get_temporary_prop()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c269 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) { in tmp_mount()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c366 if (hasmntopt(&m, MNTOPT_RO) != NULL)
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c530 static char *rw_cancel[] = { MNTOPT_RO, NULL };
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c853 ((cmd != Q_ALLSYNC) && hasmntopt(&mntp, MNTOPT_RO))) in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c689 hasopt(MNTOPT_RO, mnt.mnt_mntopts)) in quotactl()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c531 vfs_setmntopt(vfsp, MNTOPT_RO, NULL, 0); in smbfs_mount()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1070 if (hasmntopt(mntent, MNTOPT_RO) != 0) in mounted()
1111 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()

12