Lines Matching refs:hvalue
69 avtab_insert_node(struct avtab *h, int hvalue, in avtab_insert_node() argument
96 newnode->next = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_node()
97 if (flex_array_put_ptr(h->htable, hvalue, newnode, in avtab_insert_node()
110 int hvalue; in avtab_insert() local
117 hvalue = avtab_hash(key, h->mask); in avtab_insert()
118 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert()
141 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert()
155 int hvalue; in avtab_insert_nonunique() local
161 hvalue = avtab_hash(key, h->mask); in avtab_insert_nonunique()
162 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_nonunique()
180 return avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert_nonunique()
185 int hvalue; in avtab_search() local
192 hvalue = avtab_hash(key, h->mask); in avtab_search()
193 for (cur = flex_array_get_ptr(h->htable, hvalue); cur; in avtab_search()
221 int hvalue; in avtab_search_node() local
228 hvalue = avtab_hash(key, h->mask); in avtab_search_node()
229 for (cur = flex_array_get_ptr(h->htable, hvalue); cur; in avtab_search_node()