Lines Matching defs:mntp
121 struct mnttab mntp;
236 while (getmntent(mtab, &mntp) == NULL) {
237 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 &&
238 !hasmntopt(&mntp, MNTOPT_RO) &&
239 (oneof(mntp.mnt_special, listp, listcnt) ||
240 oneof(mntp.mnt_mountp, listp, listcnt))) {
242 "%s/%s", mntp.mnt_mountp, QFNAME);
244 chkquota(mntp.mnt_special,
245 mntp.mnt_mountp, quotafile);
274 struct mnttab mntp, mpref;
306 if (getmntany(mtab, &mntp, &mpref) == 0 &&
307 strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 &&
308 !hasmntopt(&mntp, MNTOPT_RO)) {
309 errs += (31+chkquota(mntp.mnt_special,
310 mntp.mnt_mountp, quotafile));
331 if (getmntany(mtab, &mntp, &mpref) != 0) {
336 } else if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 ||
337 hasmntopt(&mntp, MNTOPT_RO) ||
338 (!oneof(mntp.mnt_special, listp, listcnt) &&
339 !oneof(mntp.mnt_mountp, listp, listcnt))) {
364 "%s/%s", mntp.mnt_mountp, QFNAME);
365 exit(31+chkquota(mntp.mnt_special,
366 mntp.mnt_mountp, quotafile));
709 struct mnttab mntp;
724 while ((status = getmntent(fstab, &mntp)) == NULL) {
725 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 ||
726 hasmntopt(&mntp, MNTOPT_RO))
728 if ((strlcpy(qfile, mntp.mnt_mountp,