Home
last modified time | relevance | path

Searched refs:ctx_arr (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/broadcom/
Dcnic.c832 if (cp->ctx_arr[i].ctx) { in cnic_free_context()
834 cp->ctx_arr[i].ctx, in cnic_free_context()
835 cp->ctx_arr[i].mapping); in cnic_free_context()
836 cp->ctx_arr[i].ctx = NULL; in cnic_free_context()
891 kfree(cp->ctx_arr); in cnic_free_resc()
892 cp->ctx_arr = NULL; in cnic_free_resc()
920 cp->ctx_arr = kzalloc(arr_size, GFP_KERNEL); in cnic_alloc_context()
921 if (cp->ctx_arr == NULL) in cnic_alloc_context()
937 cp->ctx_arr[k].cid = j; in cnic_alloc_context()
947 cp->ctx_arr[i].ctx = in cnic_alloc_context()
[all …]
Dcnic.h302 struct cnic_ctx *ctx_arr; member
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c8214 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_alloc_all_ctx_pg_info()
8253 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_hwrm_func_backing_store_qcaps_v2()
8327 ctxm = &ctx->ctx_arr[BNXT_CTX_QP]; in bnxt_hwrm_func_backing_store_qcaps()
8336 ctxm = &ctx->ctx_arr[BNXT_CTX_SRQ]; in bnxt_hwrm_func_backing_store_qcaps()
8343 ctxm = &ctx->ctx_arr[BNXT_CTX_CQ]; in bnxt_hwrm_func_backing_store_qcaps()
8350 ctxm = &ctx->ctx_arr[BNXT_CTX_VNIC]; in bnxt_hwrm_func_backing_store_qcaps()
8359 ctxm = &ctx->ctx_arr[BNXT_CTX_STAT]; in bnxt_hwrm_func_backing_store_qcaps()
8366 ctxm = &ctx->ctx_arr[BNXT_CTX_STQM]; in bnxt_hwrm_func_backing_store_qcaps()
8374 memcpy(&ctx->ctx_arr[BNXT_CTX_FTQM], ctxm, sizeof(*ctxm)); in bnxt_hwrm_func_backing_store_qcaps()
8376 ctxm = &ctx->ctx_arr[BNXT_CTX_MRAV]; in bnxt_hwrm_func_backing_store_qcaps()
[all …]
Dbnxt.h1944 struct bnxt_ctx_mem_type ctx_arr[BNXT_CTX_V2_MAX]; member