Lines Matching refs:ulpw
122 uutil_listpool_walk_t *ulpw; in uutil_listpool_walk_init() local
139 ulpw = mdb_alloc(sizeof (uutil_listpool_walk_t), UM_SLEEP); in uutil_listpool_walk_init()
141 ulpw->ulpw_final = (uintptr_t)null_lpool.ulp_prev; in uutil_listpool_walk_init()
142 ulpw->ulpw_current = (uintptr_t)null_lpool.ulp_next; in uutil_listpool_walk_init()
143 wsp->walk_data = ulpw; in uutil_listpool_walk_init()
152 uutil_listpool_walk_t *ulpw = wsp->walk_data; in uutil_listpool_walk_step() local
156 ulpw->ulpw_current) == -1) { in uutil_listpool_walk_step()
157 mdb_warn("failed to read uu_list_pool %x", ulpw->ulpw_current); in uutil_listpool_walk_step()
161 status = wsp->walk_callback(ulpw->ulpw_current, &ulp, wsp->walk_cbdata); in uutil_listpool_walk_step()
163 if (ulpw->ulpw_current == ulpw->ulpw_final) in uutil_listpool_walk_step()
166 ulpw->ulpw_current = (uintptr_t)ulp.ulp_next; in uutil_listpool_walk_step()
174 uutil_listpool_walk_t *ulpw = wsp->walk_data; in uutil_listpool_walk_fini() local
175 mdb_free(ulpw, sizeof (uutil_listpool_walk_t)); in uutil_listpool_walk_fini()