Lines Matching defs:link
174 ipmi_hash_link_t *link, **nbuckets;
195 while ((link = ihp->ih_buckets[idx]) != NULL) {
203 ihp->ih_buckets[idx] = link->ihl_next;
204 elem = (void *)((uintptr_t)link - ihp->ih_linkoffs);
207 link->ihl_next = nbuckets[nidx];
208 nbuckets[nidx] = link;
235 void *link = ipmi_list_next(&(ihp)->ih_list);
237 if (link == NULL)
240 return ((void *)((uintptr_t)link - ihp->ih_linkoffs));
246 void *link = ipmi_list_next((uintptr_t)elem + ihp->ih_linkoffs);
248 if (link == NULL)
251 return ((void *)((uintptr_t)link - ihp->ih_linkoffs));
257 ipmi_hash_link_t *link = (void *)((uintptr_t)elem + ihp->ih_linkoffs);
262 link->ihl_next = ihp->ih_buckets[idx];
263 ihp->ih_buckets[idx] = link;
265 ipmi_list_append(&ihp->ih_list, link);
275 ipmi_hash_link_t *link = (void *)((uintptr_t)elem + ihp->ih_linkoffs);
279 if (*hlp == link)
286 ipmi_list_delete(&ihp->ih_list, link);