Lines Matching defs:liwp
142 li_walk_t *liwp;
151 liwp = mdb_alloc(sizeof (li_walk_t), UM_SLEEP|UM_GC);
152 liwp->hash = (struct ldi_ident **)(uintptr_t)sym.st_value;
153 liwp->index = 0;
156 if ((mdb_vread(&liwp->lip, sizeof (struct ldi_ident *),
157 (uintptr_t)liwp->hash)) == -1) {
158 mdb_warn("couldn't read ldi ident hash at %p", liwp->hash);
162 wsp->walk_addr = (uintptr_t)liwp->lip;
163 wsp->walk_data = liwp;
171 li_walk_t *liwp = (li_walk_t *)wsp->walk_data;
178 if (++(liwp->index) >= LI_HASH_SZ)
182 if ((mdb_vread(&liwp->lip, sizeof (struct ldi_ident *),
183 (uintptr_t)(liwp->hash + liwp->index))) == -1) {
185 (uintptr_t)liwp->hash + liwp->index);
189 wsp->walk_addr = (uintptr_t)liwp->lip;
198 if (mdb_vread(&liwp->buf, sizeof (struct ldi_ident),
203 wsp->walk_addr = (uintptr_t)liwp->buf.li_next;