Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c103 uint32_t *tbl8_pool; /**< pool of indexes of free tbl8s */ member
168 lpm->tbl8_pool[i] = i; in tbl8_pool_init()
184 *tbl8_ind = lpm->tbl8_pool[lpm->tbl8_pool_pos++]; in tbl8_get()
198 lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind; in tbl8_put()
253 uint32_t *tbl8_pool = NULL; in rte_lpm6_create() local
291 tbl8_pool = rte_malloc(NULL, in rte_lpm6_create()
294 if (tbl8_pool == NULL) { in rte_lpm6_create()
358 lpm->tbl8_pool = tbl8_pool; in rte_lpm6_create()
375 rte_free(tbl8_pool); in rte_lpm6_create()
442 rte_free(lpm->tbl8_pool); in rte_lpm6_free()
/f-stack/dpdk/lib/librte_lpm/
H A Drte_lpm6.c110 uint32_t *tbl8_pool; /**< pool of indexes of free tbl8s */ member
173 lpm->tbl8_pool[i] = i; in tbl8_pool_init()
189 *tbl8_ind = lpm->tbl8_pool[lpm->tbl8_pool_pos++]; in tbl8_get()
203 lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind; in tbl8_put()
256 uint32_t *tbl8_pool = NULL; in rte_lpm6_create() local
293 tbl8_pool = rte_malloc(NULL, in rte_lpm6_create()
296 if (tbl8_pool == NULL) { in rte_lpm6_create()
358 lpm->tbl8_pool = tbl8_pool; in rte_lpm6_create()
375 rte_free(tbl8_pool); in rte_lpm6_create()
438 rte_free(lpm->tbl8_pool); in rte_lpm6_free()
/f-stack/dpdk/lib/librte_fib/
H A Dtrie.c130 dp->tbl8_pool[i] = i; in tbl8_pool_init()
146 return dp->tbl8_pool[dp->tbl8_pool_pos++]; in tbl8_get()
155 dp->tbl8_pool[--dp->tbl8_pool_pos] = tbl8_ind; in tbl8_put()
660 dp->tbl8_pool = rte_zmalloc_socket(mem_name, in trie_create()
663 if (dp->tbl8_pool == NULL) { in trie_create()
680 rte_free(dp->tbl8_pool); in trie_free()
H A Dtrie.h42 uint32_t *tbl8_pool; /**< bitmap containing free tbl8 idxes*/ member