Lines Matching defs:hp
57 dt_inthash_t *hp, *np;
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
61 dt_free(ip->int_hdl, hp);
72 dt_inthash_t *hp;
75 for (hp = ip->int_hash[h]; hp != NULL; hp = hp->inh_hash) {
76 if (hp->inh_value == value && hp->inh_flags == flags)
77 return (hp->inh_index);
81 if ((hp = dt_alloc(ip->int_hdl, sizeof (dt_inthash_t))) == NULL)
84 hp->inh_hash = ip->int_hash[h];
85 hp->inh_next = NULL;
86 hp->inh_value = value;
87 hp->inh_index = ip->int_index++;
88 hp->inh_flags = flags;
90 ip->int_hash[h] = hp;
94 ip->int_head = hp;
96 ip->int_tail->inh_next = hp;
98 ip->int_tail = hp;
99 return (hp->inh_index);
111 const dt_inthash_t *hp;
113 for (hp = ip->int_head; hp != NULL; hp = hp->inh_next)
114 *dst++ = hp->inh_value;