Searched refs:ht_entries (Results 1 – 2 of 2) sorted by relevance
47 h->ht_entries = l9p_calloc((size_t)size, sizeof(struct ht_entry)); in ht_init()51 TAILQ_INIT(&h->ht_entries[i].hte_items); in ht_init()62 he = &h->ht_entries[i]; in ht_destroy()69 free(h->ht_entries); in ht_destroy()70 h->ht_entries = NULL; in ht_destroy()90 entry = &h->ht_entries[hash % h->ht_nentries]; in ht_find_locked()107 entry = &h->ht_entries[hash % h->ht_nentries]; in ht_add()144 entry = &h->ht_entries[slot]; in ht_remove_locked()188 next = TAILQ_FIRST(&h->ht_entries[slot].hte_items); in ht_iter_advance()221 TAILQ_REMOVE(&h->ht_entries[slot].hte_items, item, hti_link); in ht_remove_at_iter()
35 struct ht_entry * ht_entries; member