Lines Matching refs:mntfp
5950 FILE *mntfp; local
5959 mntfp = fopen(MNTTAB, "r");
5961 INJECT_ERROR1("MNTTAB_ERR_GET_MNTPT", mntfp = NULL);
5962 if (mntfp == NULL) {
5971 ret = getmntany(mntfp, &mp, &mpref);
5974 (void) fclose(mntfp);
5979 (void) fclose(mntfp);
7242 FILE *mntfp; local
7255 mntfp = fopen(MNTTAB, "r");
7257 INJECT_ERROR1("GET_FSTYPE_FOPEN", mntfp = NULL);
7258 if (mntfp == NULL) {
7269 ret = getmntany(mntfp, &mp, &mpref);
7274 (void) fclose(mntfp);
7277 (void) fclose(mntfp);
7929 FILE *mntfp; local
7942 mntfp = fopen(MNTTAB, "r");
7944 INJECT_ERROR1("GET_SPECIAL_MNTTAB_OPEN", mntfp = NULL);
7945 if (mntfp == NULL) {
7956 ret = getmntany(mntfp, &mp, &mpref);
7959 (void) fclose(mntfp);
7964 (void) fclose(mntfp);