Lines Matching refs:mp
117 get_mnt_entry (FILE *stream, struct mntent *mp, char *buffer, int bufsiz) in get_mnt_entry() argument
153 mp->mnt_fsname = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
157 mp->mnt_dir = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
161 mp->mnt_type = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
165 mp->mnt_opts = cp != NULL ? decode_name (cp) : (char *) ""; in get_mnt_entry()
166 switch (head ? sscanf (head, " %d %d ", &mp->mnt_freq, &mp->mnt_passno) : 0) in get_mnt_entry()
169 mp->mnt_freq = 0; in get_mnt_entry()
172 mp->mnt_passno = 0; in get_mnt_entry()
185 __getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz) in __getmntent_r() argument
191 if (get_mnt_entry (stream, mp, buffer, bufsiz)) in __getmntent_r()
195 if (strcmp (mp->mnt_type, "autofs") == 0 && __hasmntopt (mp, "ignore")) in __getmntent_r()
196 memset (mp, 0, sizeof (*mp)); in __getmntent_r()
199 result = mp; in __getmntent_r()