hasmntopt
str = hasmntopt(mnt, MNTINFO_DEV);
if (str = hasmntopt(mnt, opt)) {
if (hasmntopt(&m, MNTOPT_RO) != NULL)
if (hasmntopt(&m, MNTOPT_PUBLIC))
if (hasmntopt(&mtopt, (char *)restropts[i]) != NULL &&
hasmntopt(&mtmap, (char *)restropts[i]) == NULL) {
return (hasmntopt(&mt, MNTOPT_RESTRICT) != NULL);
if (hasmntopt(&m, MNTOPT_SECURE) != NULL) {
if (hasmntopt(&m, MNTOPT_SEC) != NULL) {
hasmntopt(&m, MNTOPT_POSIX) != NULL) ? 1 : 0;
if (hasmntopt(&m, MNTOPT_SOFT) != NULL) {
if (hasmntopt(&m, MNTOPT_NOINTR) != NULL) {
if (hasmntopt(&m, MNTOPT_NOAC) != NULL) {
if (hasmntopt(&m, MNTOPT_NOCTO) != NULL) {
if (hasmntopt(&m, MNTOPT_FORCEDIRECTIO) != NULL) {
if (hasmntopt(&m, MNTOPT_NOFORCEDIRECTIO) != NULL) {
if (hasmntopt(&m, MNTOPT_GRPID) != NULL) {
if (hasmntopt(&m, MNTOPT_LLOCK))
if (!hasmntopt(&m, MNTOPT_NOXATTR) && !hasmntopt(&m, MNTOPT_XATTR)) {
if (hasmntopt(&mnt, MNTOPT_RO) != NULL)
if (str = hasmntopt(mnt, opt)) {
if (hasmntopt(mnt, MNTOPT_PUBLIC) != NULL) {
if (replicated && hasmntopt(&m, MNTOPT_SOFT)) {
if (replicated && !hasmntopt(&m, MNTOPT_RO)) {
flags |= (hasmntopt(&m, MNTOPT_RO) == NULL) ? 0 : MS_RDONLY;
flags |= (hasmntopt(&m, MNTOPT_NOSUID) == NULL) ? 0 : MS_NOSUID;
use_pubfh = (hasmntopt(&m, MNTOPT_PUBLIC) == NULL) ? FALSE : TRUE;
if (hasmntopt(&m, MNTOPT_SECURE) != NULL) {
if (hasmntopt(&m, MNTOPT_SEC) != NULL) {
if (hasmntopt(omntp, "direct") != NULL) {
if (hasmntopt(omntp, "direct") == NULL) {
if (hasmntopt(omnt, "nest") != NULL)
mtep->mte_ignore = (hasmntopt((struct mnttab *)&mtab,
!(hasmntopt(&mntp, MNTOPT_RQ) ||
hasmntopt(&mntp, MNTOPT_QUOTA)))
if (hasmntopt(&mnt, MNTOPT_RO) != 0)
if (hasmntopt(&m, "m"))
((cmd != Q_ALLSYNC) && hasmntopt(&mntp, MNTOPT_RO)))
return (hasmntopt(&mtab, opt));
if (hasmntopt(mntent, MNTOPT_RO) != 0)
if ((mntopt = hasmntopt(&mnt, MNTOPT_ZONE)) &&
!hasmntopt(&mntp, MNTOPT_RO) &&
!hasmntopt(&mntp, MNTOPT_RO)) {
hasmntopt(&mntp, MNTOPT_RO) ||
hasmntopt(&mntp, MNTOPT_RO))
char *mntopt(), *hasvfsopt(), *hasmntopt();
!hasmntopt(&mntp, MNTOPT_RO) &&
char *mntopt(), *hasvfsopt(), *hasmntopt();
!hasmntopt(&mntp, MNTOPT_RO) &&
hasmntopt(&mntp, MNTOPT_RO))
extern char *hasmntopt();
hasmntopt ((struct mnttab *)&m, "ro") ? TRUE : FALSE);
#define FS_READONLY(fs) (hasmntopt(fs, "ro") ? 1 : 0)
(hasmntopt(&mt, OPT_IGNORE) != NULL))
if (hasmntopt(mt, MNTOPT_RO) == NULL) {
if (!hasmntopt(&mnt, MNTOPT_REMOUNT) &&
opt_found = hasmntopt(&mnttab_entry, mntopt);
if (hasmntopt(&mountTable[i], MNTOPT_RO) != NULL) {
if (hasmntopt(&mnt, mntopt_on) && !*val) {
} else if (hasmntopt(&mnt, mntopt_off) && *val) {
extern char *hasmntopt(const struct mnttab *, const char *);