Lines Matching refs:htable
84 static struct internal_head *htable; variable
94 _DIAGASSERT(htable == NULL); in hcreate()
95 if (htable != NULL) { in hcreate()
118 htable = calloc(htablesize, sizeof htable[0]); in hcreate()
119 if (htable == NULL) { in hcreate()
126 SLIST_INIT(&htable[idx]); in hcreate()
137 _DIAGASSERT(htable != NULL); in hdestroy()
138 if (htable == NULL) in hdestroy()
142 while (!SLIST_EMPTY(&htable[idx])) { in hdestroy()
143 ie = SLIST_FIRST(&htable[idx]); in hdestroy()
144 SLIST_REMOVE_HEAD(&htable[idx], link); in hdestroy()
149 free(htable); in hdestroy()
150 htable = NULL; in hdestroy()
161 _DIAGASSERT(htable != NULL); in hsearch()
168 head = &htable[hashval & (htablesize - 1)]; in hsearch()