Lines Matching defs:link
154 shadow_hash_link_t *link, **nbuckets;
175 while ((link = shp->sh_buckets[idx]) != NULL) {
183 shp->sh_buckets[idx] = link->shl_next;
184 elem = (void *)((uintptr_t)link - shp->sh_linkoffs);
187 link->shl_next = nbuckets[nidx];
188 nbuckets[nidx] = link;
215 void *link = shadow_list_next(&(shp)->sh_list);
217 if (link == NULL)
220 return ((void *)((uintptr_t)link - shp->sh_linkoffs));
226 void *link = shadow_list_next((uintptr_t)elem + shp->sh_linkoffs);
228 if (link == NULL)
231 return ((void *)((uintptr_t)link - shp->sh_linkoffs));
237 shadow_hash_link_t *link = (void *)((uintptr_t)elem + shp->sh_linkoffs);
242 link->shl_next = shp->sh_buckets[idx];
243 shp->sh_buckets[idx] = link;
245 shadow_list_append(&shp->sh_list, link);
255 shadow_hash_link_t *link = (void *)((uintptr_t)elem + shp->sh_linkoffs);
259 if (*hlp == link)
266 shadow_list_delete(&shp->sh_list, link);