Searched refs:ht_item (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/lib9p/ |
| H A D | hashtable.c | 38 static struct ht_item *ht_iter_advance(struct ht_iter *, struct ht_item *); 58 struct ht_item *item, *tmp; in ht_destroy() 88 struct ht_item *item; in ht_find_locked() 104 struct ht_item *item; in ht_add() 117 item = l9p_calloc(1, sizeof(struct ht_item)); in ht_add() 141 struct ht_item *item, *tmp; in ht_remove_locked() 171 static struct ht_item * 172 ht_iter_advance(struct ht_iter *iter, struct ht_item *cur) in ht_iter_advance() 174 struct ht_item *next; in ht_iter_advance() 205 struct ht_item *item; in ht_remove_at_iter() [all …]
|
| H A D | hashtable.h | 41 TAILQ_HEAD(, ht_item) hte_items; 44 struct ht_item { struct 47 TAILQ_ENTRY(ht_item) hti_link; argument 52 struct ht_item * htit_curr; 53 struct ht_item * htit_next;
|
| /freebsd/usr.sbin/nscd/ |
| H A D | cachelib.c | 221 struct cache_ht_item_ *ht_item; in destroy_cache_entry() local 230 HASHTABLE_FOREACH(&(common_entry->items), ht_item) { in destroy_cache_entry() 231 HASHTABLE_ENTRY_FOREACH(ht_item, data, ht_item_data) in destroy_cache_entry() 236 HASHTABLE_ENTRY_CLEAR(ht_item, data); in destroy_cache_entry() 288 struct cache_ht_item_ *ht_item; in clear_cache_entry() local 299 HASHTABLE_FOREACH(&(common_entry->items), ht_item) { in clear_cache_entry() 300 HASHTABLE_ENTRY_FOREACH(ht_item, data, ht_item_data) in clear_cache_entry() 305 entry_size += HASHTABLE_ENTRY_SIZE(ht_item, data); in clear_cache_entry() 306 HASHTABLE_ENTRY_CLEAR(ht_item, data); in clear_cache_entry() 378 struct cache_ht_item_ *ht_item; in flush_cache_policy() local [all …]
|