Lines Matching refs:pm
94 addvfstab(tablename, pm) in addvfstab() argument
96 struct pmntent *pm;
103 assert(((mnttable == NULL) && (pm == NULL)) || (pm != NULL));
133 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
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; in mnttabread() local
192 pm = addvfstab(VFSTAB, pm); in mnttabread()
193 (void) addmtab(MOUNTED, pm); in mnttabread()
197 addmtab(tablename, pm) in addmtab() argument
199 struct pmntent *pm;
221 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
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; local
259 for (pm = mnttable; pm; pm = pm->pm_next) {
261 mnt = pm->pm_mnt;
335 struct pmntent *pm; in getmnttab() local
339 pm = current; in getmnttab()
342 return (pm->pm_mnt); in getmnttab()