Searched refs:bitalloc (Results 1 – 5 of 5) sorted by relevance
| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | bitalloc.h | 15 struct bitalloc { struct 28 (sizeof(struct bitalloc) * \ 29 (((sizeof(struct bitalloc) + \ 30 sizeof(struct bitalloc) - 1 + \ 37 sizeof(struct bitalloc))) 53 sizeof(struct bitalloc))] 73 int ba_alloc(struct bitalloc *pool); 79 int ba_alloc_reverse(struct bitalloc *pool); 113 int ba_free(struct bitalloc *pool, int index); 118 int ba_free_count(struct bitalloc *pool); [all …]
|
| H A D | bitalloc.c | 114 ba_alloc_helper(struct bitalloc *pool, in ba_alloc_helper() 152 ba_alloc(struct bitalloc *pool) in ba_alloc() 225 ba_alloc_reverse(struct bitalloc *pool) in ba_alloc_reverse() 233 ba_alloc_index_helper(struct bitalloc *pool, in ba_alloc_index_helper() 289 ba_inuse_helper(struct bitalloc *pool, in ba_inuse_helper() 318 ba_inuse(struct bitalloc *pool, int index) in ba_inuse() 327 ba_free_helper(struct bitalloc *pool, in ba_free_helper() 362 ba_free(struct bitalloc *pool, int index) in ba_free() 380 ba_free_count(struct bitalloc *pool) in ba_free_count() 385 int ba_inuse_count(struct bitalloc *pool) in ba_inuse_count() [all …]
|
| H A D | tf_rm.c | 64 struct bitalloc *pool; 733 sizeof(struct bitalloc)); in tf_rm_create_db() 736 cparms.size = sizeof(struct bitalloc); in tf_rm_create_db() 745 db[i].pool = (struct bitalloc *)cparms.mem_va; in tf_rm_create_db() 973 sizeof(struct bitalloc)); in tf_rm_create_db_no_reservation() 976 cparms.size = sizeof(struct bitalloc); in tf_rm_create_db_no_reservation() 1136 struct bitalloc **pool, in tf_rm_get_pool() 1170 struct bitalloc *pool; in tf_rm_allocate() 1234 struct bitalloc *pool; in tf_rm_free() 1277 struct bitalloc *pool; in tf_rm_is_allocated() [all …]
|
| H A D | tf_tcam_shared.c | 50 struct bitalloc *pool; 97 pool_size = (BITALLOC_SIZEOF(stride) / sizeof(struct bitalloc)); in tf_tcam_shared_create_wc_pool() 100 cparms.size = sizeof(struct bitalloc); in tf_tcam_shared_create_wc_pool() 109 tcam_shared_wc->db[dir][id].pool = (struct bitalloc *)cparms.mem_va; in tf_tcam_shared_create_wc_pool() 350 struct bitalloc *pool; in tf_tcam_shared_unbind() 484 struct bitalloc *pool; in tf_tcam_shared_alloc() 566 struct bitalloc *pool; in tf_tcam_shared_free() 685 struct bitalloc *pool; in tf_tcam_shared_set() 795 struct bitalloc *pool; in tf_tcam_shared_get() 1027 struct bitalloc *hi_pool, *lo_pool; in tf_tcam_shared_move()
|
| H A D | meson.build | 11 'bitalloc.c',
|