Home
last modified time | relevance | path

Searched refs:comp_ctx_pool (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/hw/efa/
A Defa_com.c249 ctx_id = aq->comp_ctx_pool[aq->comp_ctx_pool_next]; in efa_com_alloc_ctx_id()
261 aq->comp_ctx_pool[aq->comp_ctx_pool_next] = ctx_id; in efa_com_dealloc_ctx_id()
357 size_t pool_size = aq->depth * sizeof(*aq->comp_ctx_pool); in efa_com_init_comp_ctxt()
363 aq->comp_ctx_pool = devm_kzalloc(aq->dmadev, pool_size, GFP_KERNEL); in efa_com_init_comp_ctxt()
364 if (!aq->comp_ctx || !aq->comp_ctx_pool) { in efa_com_init_comp_ctxt()
365 devm_kfree(aq->dmadev, aq->comp_ctx_pool); in efa_com_init_comp_ctxt()
375 aq->comp_ctx_pool[i] = i; in efa_com_init_comp_ctxt()
669 devm_kfree(edev->dmadev, aq->comp_ctx_pool); in efa_com_admin_destroy()
A Defa_com.h78 u32 *comp_ctx_pool; member

Completed in 5 milliseconds