Lines Matching defs:pm
211 mem_path_map_t *pm = NULL;
221 pm = fmd_fmri_alloc(sizeof (mem_path_map_t));
222 pm->pm_path = fmd_fmri_strdup(path);
223 pm->pm_fullpath = fmd_fmri_strdup(fullpath);
225 pm->pm_next = *mapp;
226 *mapp = pm;
257 mem_path_map_t *pm;
271 for (pm = dma->dma_pm; pm != NULL; pm = pm->pm_next) {
272 if (picl_path_eq(pm->pm_path, path)) {
273 (void) strcpy(path, pm->pm_fullpath);
338 path_map_destroy(mem_path_map_t *pm)
342 for (/* */; pm != NULL; pm = next) {
343 next = pm->pm_next;
345 fmd_fmri_strfree(pm->pm_path);
346 fmd_fmri_strfree(pm->pm_fullpath);
347 fmd_fmri_free(pm, sizeof (mem_path_map_t));