Lines Matching refs:ht
131 void (*alloc_bucket_table)(struct cds_lfht *ht, unsigned long order);
132 void (*free_bucket_table)(struct cds_lfht *ht, unsigned long order);
133 struct cds_lfht_node *(*bucket_at)(struct cds_lfht *ht,
299 * @ht: the hash table to destroy.
319 int cds_lfht_destroy(struct cds_lfht *ht, pthread_attr_t **attr);
323 * @ht: the hash table.
332 void cds_lfht_count_nodes(struct cds_lfht *ht,
339 * @ht: the hash table.
350 void cds_lfht_lookup(struct cds_lfht *ht, unsigned long hash,
356 * @ht: the hash table.
375 void cds_lfht_next_duplicate(struct cds_lfht *ht,
381 * @ht: the hash table.
390 void cds_lfht_first(struct cds_lfht *ht, struct cds_lfht_iter *iter);
394 * @ht: the hash table.
405 void cds_lfht_next(struct cds_lfht *ht, struct cds_lfht_iter *iter);
409 * @ht: the hash table.
420 void cds_lfht_add(struct cds_lfht *ht, unsigned long hash,
425 * @ht: the hash table.
451 struct cds_lfht_node *cds_lfht_add_unique(struct cds_lfht *ht,
459 * @ht: the hash table.
488 struct cds_lfht_node *cds_lfht_add_replace(struct cds_lfht *ht,
496 * @ht: the hash table.
524 int cds_lfht_replace(struct cds_lfht *ht,
533 * @ht: the hash table.
553 int cds_lfht_del(struct cds_lfht *ht, struct cds_lfht_node *node);
573 * @ht: the hash table.
582 void cds_lfht_resize(struct cds_lfht *ht, unsigned long new_size);
590 #define cds_lfht_for_each(ht, iter, node) \
591 for (cds_lfht_first(ht, iter), \
594 cds_lfht_next(ht, iter), \
597 #define cds_lfht_for_each_duplicate(ht, hash, match, key, iter, node) \
598 for (cds_lfht_lookup(ht, hash, match, key, iter), \
601 cds_lfht_next_duplicate(ht, match, key, iter), \
607 #define cds_lfht_for_each_entry(ht, iter, pos, member) \
608 for (cds_lfht_first(ht, iter), \
612 cds_lfht_next(ht, iter), \
616 #define cds_lfht_for_each_entry_duplicate(ht, hash, match, key, \
618 for (cds_lfht_lookup(ht, hash, match, key, iter), \
622 cds_lfht_next_duplicate(ht, match, key, iter), \