| /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/common/mlx5/ |
| H A D | mlx5_common_utils.c | 398 uint32_t alloc_size; in mlx5_hlist_create() local 414 alloc_size = sizeof(struct mlx5_hlist) + in mlx5_hlist_create() 417 alloc_size += sizeof(struct mlx5_list_cache) * act_size; in mlx5_hlist_create() 419 h = mlx5_malloc(MLX5_MEM_ZERO, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_hlist_create()
|
| /dpdk/drivers/compress/mlx5/ |
| H A D | mlx5_compress.c | 194 uint32_t alloc_size = sizeof(*qp); in mlx5_compress_qp_setup() local 198 alloc_size = RTE_ALIGN(alloc_size, RTE_CACHE_LINE_SIZE); in mlx5_compress_qp_setup() 199 alloc_size += sizeof(struct rte_comp_op *) * (1u << log_ops_n); in mlx5_compress_qp_setup() 200 qp = rte_zmalloc_socket(__func__, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_compress_qp_setup()
|
| /dpdk/drivers/crypto/mlx5/ |
| H A D | mlx5_crypto.c | 599 uint32_t alloc_size = sizeof(*qp); in mlx5_crypto_queue_pair_setup() local 607 alloc_size = RTE_ALIGN(alloc_size, RTE_CACHE_LINE_SIZE); in mlx5_crypto_queue_pair_setup() 608 alloc_size += (sizeof(struct rte_crypto_op *) + in mlx5_crypto_queue_pair_setup() 611 qp = rte_zmalloc_socket(__func__, alloc_size, RTE_CACHE_LINE_SIZE, in mlx5_crypto_queue_pair_setup()
|
| /dpdk/drivers/net/avp/ |
| H A D | rte_avp_common.h | 328 uint32_t alloc_size; /**< Size of each alloc queue */ member
|
| H A D | avp_ethdev.c | 898 host_info->alloc_phys + (i * host_info->alloc_size)); in avp_dev_create()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_npa.c | 268 int rc, aura_id, pool_id, stack_size, alloc_size; in npa_aura_pool_pair_alloc() local 312 alloc_size = stack_size * lf->stack_pg_bytes; in npa_aura_pool_pair_alloc() 314 mz = npa_stack_dma_alloc(lf, name, pool_id, alloc_size); in npa_aura_pool_pair_alloc()
|
| /dpdk/lib/acl/ |
| H A D | acl_bld.c | 103 size_t alloc_size = n * s; in acl_build_alloc() local 110 alloc_size && context->blocks[m].mem_ptr != NULL) { in acl_build_alloc() 113 memset(p, 0, alloc_size); in acl_build_alloc() 121 p = tb_alloc(&context->pool, alloc_size); in acl_build_alloc()
|
| /dpdk/lib/eal/include/ |
| H A D | rte_common.h | 162 __attribute__((alloc_size(__VA_ARGS__)))
|
| /dpdk/drivers/event/opdl/ |
| H A D | opdl_ring.c | 903 size_t alloc_size = RTE_CACHE_LINE_ROUNDUP(sizeof(*t) + in opdl_ring_create() local 936 mz = rte_memzone_reserve(mz_name, alloc_size, socket, mz_flags); in opdl_ring_create()
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_mcdi.c | 3290 size_t alloc_size; in efx_mcdi_get_nic_addr_regions() local 3320 alloc_size = nregions * sizeof(endrip->endri_regions[0]); in efx_mcdi_get_nic_addr_regions() 3321 if (alloc_size / sizeof (endrip->endri_regions[0]) != nregions) { in efx_mcdi_get_nic_addr_regions() 3327 alloc_size, in efx_mcdi_get_nic_addr_regions()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rxq.c | 1718 size_t alloc_size = sizeof(*tmpl) + desc_n * sizeof(struct rte_mbuf *); in mlx5_rxq_new() local 1725 alloc_size += desc * sizeof(struct mlx5_mprq_buf *); in mlx5_rxq_new() 1727 tmpl = mlx5_malloc(MLX5_MEM_RTE | MLX5_MEM_ZERO, alloc_size, 0, socket); in mlx5_rxq_new()
|