Lines Matching defs:hash
47 struct ldi_handle **hash; /* current bucket pointer */
49 size_t index; /* hash table index */
57 struct ldi_ident **hash; /* current bucket pointer */
59 size_t index; /* hash table index */
77 /* get the address of the hash table */
84 lhwp->hash = (struct ldi_handle **)(uintptr_t)sym.st_value;
87 /* get the address of the first element in the first hash bucket */
89 (uintptr_t)lhwp->hash)) == -1) {
90 mdb_warn("couldn't read ldi handle hash at %p", lhwp->hash);
106 /* check if we need to go to the next hash bucket */
113 /* get handle address from the hash bucket */
115 (uintptr_t)(lhwp->hash + lhwp->index))) == -1) {
116 mdb_warn("couldn't read ldi handle hash at %p",
117 (uintptr_t)lhwp->hash + lhwp->index);
124 /* invoke the walker callback for this hash element */
129 /* get a pointer to the next hash element */
145 /* get the address of the hash table */
152 liwp->hash = (struct ldi_ident **)(uintptr_t)sym.st_value;
155 /* get the address of the first element in the first hash bucket */
157 (uintptr_t)liwp->hash)) == -1) {
158 mdb_warn("couldn't read ldi ident hash at %p", liwp->hash);
174 /* check if we need to go to the next hash bucket */
181 /* get handle address from the hash bucket */
183 (uintptr_t)(liwp->hash + liwp->index))) == -1) {
184 mdb_warn("couldn't read ldi ident hash at %p",
185 (uintptr_t)liwp->hash + liwp->index);
192 /* invoke the walker callback for this hash element */
197 /* get a pointer to the next hash element */