Lines Matching refs:mnt
242 struct mnttab mnt; in showquotas() local
267 while (getmntent(mtab, &mnt) == 0) { in showquotas()
268 if (strcmp(mnt.mnt_fstype, MNTTYPE_ZFS) == 0) { in showquotas()
270 if (getzfsquota(name, mnt.mnt_special, &dqblk)) in showquotas()
272 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0) { in showquotas()
275 mnt.mnt_mountp, uid, &dqblk) != 0 && in showquotas()
276 !(vflag && getdiskquota(&mnt, uid, &dqblk)))) in showquotas()
278 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_NFS) == 0) { in showquotas()
290 if ((mntopt = hasmntopt(&mnt, MNTOPT_ZONE)) && in showquotas()
298 if (hasopt(MNTOPT_NOQUOTA, mnt.mnt_mntopts)) in showquotas()
306 if (hasopt(MNTOPT_PUBLIC, mnt.mnt_mntopts)) in showquotas()
309 rl = parse_replica(mnt.mnt_special, &count); in showquotas()
316 mnt.mnt_mountp); in showquotas()
320 mnt.mnt_mountp); in showquotas()
418 prquota(&mnt, &dqblk); in showquotas()
420 warn(&mnt, &dqblk); in showquotas()
672 struct mnttab mnt; in quotactl() local
687 while ((status = getmntent(fstab, &mnt)) == 0) { in quotactl()
688 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
689 hasopt(MNTOPT_RO, mnt.mnt_mntopts)) in quotactl()
691 if ((strlcpy(qfile, mnt.mnt_mountp, in quotactl()