Home
last modified time | relevance | path

Searched refs:buckets_ext (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/lib/librte_hash/
H A Drte_cuckoo_hash.c148 void *buckets_ext = NULL; in rte_hash_create() local
307 buckets_ext = rte_zmalloc_socket(NULL, in rte_hash_create()
310 if (buckets_ext == NULL) { in rte_hash_create()
421 h->buckets_ext = buckets_ext; in rte_hash_create()
481 rte_free(buckets_ext); in rte_hash_create()
527 rte_free(h->buckets_ext); in rte_hash_free()
644 memset(h->buckets_ext, 0, h->num_buckets * in rte_hash_reset()
1180 (h->buckets_ext[ext_bkt_id - 1]).sig_current[0] = short_sig; in __rte_hash_add_key_with_hash()
1185 __atomic_store_n(&(h->buckets_ext[ext_bkt_id - 1]).key_idx[0], in __rte_hash_add_key_with_hash()
1190 last->next = &h->buckets_ext[ext_bkt_id - 1]; in __rte_hash_add_key_with_hash()
[all …]
H A Drte_cuckoo_hash.h217 struct rte_hash_bucket *buckets_ext; /**< Extra buckets array */ member
/f-stack/dpdk/lib/librte_table/
H A Drte_swx_table_em.c261 struct bucket_extension *buckets_ext; member
442 t->buckets_ext = (struct bucket_extension *)&memory[bucket_ext_offset]; in __table_create()
526 new_bkt = &t->buckets_ext[new_bkt_id]; in table_add()
570 bkt_id = bkt - t->buckets_ext; in table_del()
H A Drte_table_hash_ext.c95 struct bucket *buckets_ext; member
262 t->buckets_ext = (struct bucket *) &t->memory[bucket_ext_offset]; in rte_table_hash_ext_create()
375 bkt = &t->buckets_ext[bkt_index]; in rte_table_hash_ext_entry_add()
450 bkt_index = bkt - t->buckets_ext; in rte_table_hash_ext_entry_delete()