Lines Matching refs:mgetp
57 (mrefp->xx != NULL && (mgetp->xx == NULL ||\
58 strcmp(mrefp->xx, mgetp->xx) != 0))
61 ((mgetp->xx == NULL) || (stat64(mgetp->xx, &statb) == -1) ||\
107 getmntany_compat(FILE *fp, struct mnttab *mgetp, struct mnttab *mrefp)
128 while ((ret = getmntent_compat(fp, mgetp)) == 0 &&
141 getmntany(FILE *fp, struct mnttab *mgetp, struct mnttab *mrefp)
160 bzero(mgetp, sizeof (struct mnttab));
162 mgetp->mnt_special = copyp;
163 copyp += snprintf(mgetp->mnt_special, MNT_LINE_MAX, "%s",
167 mgetp->mnt_mountp = copyp;
168 copyp += snprintf(mgetp->mnt_mountp,
172 mgetp->mnt_fstype = copyp;
173 copyp += snprintf(mgetp->mnt_fstype,
177 mgetp->mnt_mntopts = copyp;
178 copyp += snprintf(mgetp->mnt_mntopts,
182 mgetp->mnt_time = copyp;
183 (void) snprintf(mgetp->mnt_time, bufp + MNT_LINE_MAX - copyp,
187 embuf.mbuf_emp = (struct extmnttab *)mgetp;
202 return (getmntany_compat(fp, mgetp, mrefp));