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