Lines Matching defs:pm
94 addvfstab(tablename, pm)
96 struct pmntent *pm;
103 assert(((mnttable == NULL) && (pm == NULL)) || (pm != NULL));
130 * Guaranteed by caller that pm will also be NULL,
133 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
135 /* Guaranteed pm not NULL by caller and local logic */
136 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
137 pm = pm->pm_next;
139 pm->pm_mnt = mnt;
140 pm->pm_next = (struct pmntent *)0;
162 return (pm);
182 struct pmntent *pm = (struct pmntent *)0;
192 pm = addvfstab(VFSTAB, pm);
193 (void) addmtab(MOUNTED, pm);
197 addmtab(tablename, pm)
199 struct pmntent *pm;
218 * Guaranteed by caller that pm will also be NULL,
221 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
223 /* Guaranteed pm not NULL by caller and local logic */
224 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
225 pm = pm->pm_next;
227 pm->pm_mnt = mnt;
228 pm->pm_next = (struct pmntent *)0;
231 return (pm);
252 struct pmntent *pm;
259 for (pm = mnttable; pm; pm = pm->pm_next) {
261 mnt = pm->pm_mnt;
335 struct pmntent *pm;
339 pm = current;
342 return (pm->pm_mnt);