Searched refs:alloc_size (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_osdep_bitmap.h | 46 uint32_t alloc_size; in dlb2_bitmap_alloc() local 61 alloc_size = rte_bitmap_get_memory_footprint(nbits); in dlb2_bitmap_alloc() 62 mem = rte_malloc("DLB2_PF_BITMAP", alloc_size, RTE_CACHE_LINE_SIZE); in dlb2_bitmap_alloc() 68 bm->map = rte_bitmap_init(len, mem, alloc_size); in dlb2_bitmap_alloc()
|
| /dpdk/drivers/net/mlx5/hws/ |
| H A D | mlx5dr_pool.c | 309 uint32_t alloc_size, int idx) in mlx5dr_pool_create_resource_on_index() argument 311 if (mlx5dr_pool_resource_alloc(pool, alloc_size, idx) != 0) { in mlx5dr_pool_create_resource_on_index() 313 pool->type, alloc_size, idx); in mlx5dr_pool_create_resource_on_index() 324 uint32_t alloc_size; in mlx5dr_pool_element_create_new_elem() local 326 alloc_size = pool->alloc_log_sz; in mlx5dr_pool_element_create_new_elem() 339 elem->bitmap = mlx5dr_pool_create_and_init_bitmap(alloc_size - order); in mlx5dr_pool_element_create_new_elem() 342 pool->type, alloc_size, idx); in mlx5dr_pool_element_create_new_elem() 347 if (mlx5dr_pool_create_resource_on_index(pool, alloc_size, idx)) { in mlx5dr_pool_element_create_new_elem() 349 pool->type, alloc_size, idx); in mlx5dr_pool_element_create_new_elem()
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common_utils.c | 396 uint32_t alloc_size; in mlx5_hlist_create() local 412 alloc_size = sizeof(struct mlx5_hlist) + in mlx5_hlist_create() 415 alloc_size += sizeof(struct mlx5_list_cache) * act_size; in mlx5_hlist_create() 417 h = mlx5_malloc(MLX5_MEM_ZERO, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_hlist_create()
|
| /dpdk/lib/acl/ |
| H A D | acl_bld.c | 109 size_t alloc_size = n * s; in acl_build_alloc() local 116 alloc_size && context->blocks[m].mem_ptr != NULL) { in acl_build_alloc() 119 memset(p, 0, alloc_size); in acl_build_alloc() 127 p = tb_alloc(&context->pool, alloc_size); in acl_build_alloc()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_common.h | 267 __attribute__((alloc_size(__VA_ARGS__)))
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_mcdi.c | 3433 size_t alloc_size; in efx_mcdi_get_nic_addr_regions() local 3463 alloc_size = nregions * sizeof(endrip->endri_regions[0]); in efx_mcdi_get_nic_addr_regions() 3464 if (alloc_size / sizeof (endrip->endri_regions[0]) != nregions) { in efx_mcdi_get_nic_addr_regions() 3470 alloc_size, in efx_mcdi_get_nic_addr_regions()
|