Lines Matching refs:dm
270 struct devinfo_i_rman *dm;
325 if ((dm = malloc(sizeof(*dm))) == NULL)
327 dm->dm_rman.dm_handle = urman.rm_handle;
328 dm->dm_rman.dm_start = urman.rm_start;
329 dm->dm_rman.dm_size = urman.rm_size;
330 snprintf(dm->dm_desc, DEVINFO_STRLEN, "%s", urman.rm_descr);
331 dm->dm_rman.dm_desc = &dm->dm_desc[0];
332 TAILQ_INSERT_TAIL(&devinfo_rman, dm, dm_link);
391 struct devinfo_i_rman *dm;
398 while ((dm = TAILQ_FIRST(&devinfo_rman)) != NULL) {
399 TAILQ_REMOVE(&devinfo_rman, dm, dm_link);
400 free(dm);
457 struct devinfo_i_rman *dm;
459 TAILQ_FOREACH(dm, &devinfo_rman, dm_link)
460 if (dm->dm_rman.dm_handle == handle)
461 return(&dm->dm_rman);
530 struct devinfo_i_rman *dm;
533 TAILQ_FOREACH(dm, &devinfo_rman, dm_link)
534 if ((error = fn(&dm->dm_rman, arg)) != 0)