MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_ipool_zmalloc

Function mlx5_ipool_zmalloc

dpdk/drivers/net/mlx5/mlx5_utils.c:573–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573void *
574mlx5_ipool_zmalloc(struct mlx5_indexed_pool *pool, uint32_t *idx)
575{
576 void *entry = mlx5_ipool_malloc(pool, idx);
577
578 if (entry && pool->cfg.size)
579 memset(entry, 0, pool->cfg.size);
580 return entry;
581}
582
583void
584mlx5_ipool_free(struct mlx5_indexed_pool *pool, uint32_t idx)

Callers 15

flow_dv_port_id_clone_cbFunction · 0.85
flow_dv_modify_create_cbFunction · 0.85
flow_dv_prepareFunction · 0.85
flow_dv_tbl_create_cbFunction · 0.85
flow_dv_tag_create_cbFunction · 0.85
flow_dv_sample_create_cbFunction · 0.85
flow_dv_sample_clone_cbFunction · 0.85

Calls 2

mlx5_ipool_mallocFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected