Lines Matching refs:pm
92 addvfstab(tablename, pm) in addvfstab() argument
94 struct pmntent *pm;
101 assert(((mnttable == NULL) && (pm == NULL)) || (pm != NULL));
131 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
134 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
135 pm = pm->pm_next;
137 pm->pm_mnt = mnt;
138 pm->pm_next = (struct pmntent *)0;
160 return (pm);
180 struct pmntent *pm = (struct pmntent *)0; in mnttabread() local
190 pm = addvfstab(VFSTAB, pm); in mnttabread()
191 (void) addmtab(MOUNTED, pm); in mnttabread()
195 addmtab(tablename, pm) in addmtab() argument
197 struct pmntent *pm;
219 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm));
222 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
223 pm = pm->pm_next;
225 pm->pm_mnt = mnt;
226 pm->pm_next = (struct pmntent *)0;
229 return (pm);
250 struct pmntent *pm; local
257 for (pm = mnttable; pm; pm = pm->pm_next) {
259 mnt = pm->pm_mnt;
333 struct pmntent *pm; in getmnttab() local
337 pm = current; in getmnttab()
340 return (pm->pm_mnt); in getmnttab()