Searched refs:diw (Results 1 – 1 of 1) sorted by relevance
327 devinfo_walk_data_t *diw; in devinfo_walk_init() local330 diw = mdb_alloc(sizeof (devinfo_walk_data_t), UM_SLEEP); in devinfo_walk_init()331 diw->diw_parent = *wsp; in devinfo_walk_init()332 diw->diw_child = *wsp; in devinfo_walk_init()333 wsp->walk_data = diw; in devinfo_walk_init()335 diw->diw_mode = DIW_PARENT; in devinfo_walk_init()337 if (devinfo_parents_walk_init(&diw->diw_parent) == -1) { in devinfo_walk_init()338 mdb_free(diw, sizeof (devinfo_walk_data_t)); in devinfo_walk_init()347 dip = diw->diw_parent.walk_data; in devinfo_walk_init()348 diw->diw_child.walk_arg = &dip->dip_base_depth; in devinfo_walk_init()[all …]