Lines Matching refs:fp
139 FILE *fp = fopen (MNTTAB, "r"); in GetMountEntry() local
140 if (! fp) in GetMountEntry()
143 while (getmntent (fp, mnt) != -1) in GetMountEntry()
145 FILE *fp = fopen (MNTTAB, "r"); in GetMountEntry()
146 if (! fp) in GetMountEntry()
149 while (fread (&mnt, sizeof mnt, 1, fp) > 0) in GetMountEntry()
151 FILE *fp = NULL; in GetMountEntry()
152 if (! fp) in GetMountEntry()
157 FILE *fp = setmntent (MOUNTED, "r"); in GetMountEntry()
158 if (! fp) in GetMountEntry()
161 while ((mnt = getmntent (fp)) != NULL) in GetMountEntry()
183 endmntent( fp ); in GetMountEntry()
185 fclose (fp); in GetMountEntry()
199 endmntent( fp ); in GetMountEntry()
201 fclose (fp); in GetMountEntry()