Searched refs:qp_tbl (Results 1 – 11 of 11) sorted by relevance
271 dev->qp_tbl = kcalloc(OCRDMA_MAX_QP, in ocrdma_alloc_resources()274 if (!dev->qp_tbl) in ocrdma_alloc_resources()301 kfree(dev->qp_tbl); in ocrdma_free_resources()
248 struct ocrdma_qp **qp_tbl; member
1098 if (qp->id < OCRDMA_MAX_QP && dev->qp_tbl[qp->id] == NULL) { in ocrdma_add_qpn_map()1099 dev->qp_tbl[qp->id] = qp; in ocrdma_add_qpn_map()1107 dev->qp_tbl[qp->id] = NULL; in ocrdma_del_qpn_map()2789 qp = dev->qp_tbl[qpn]; in ocrdma_poll_hwcq()
697 qp = dev->qp_tbl[qpid]; in ocrdma_dispatch_ibevent()
347 if (dev->qp_tbl[cqe->qp & 0xffff]) in pvrdma_poll_one()348 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff]; in pvrdma_poll_one()
244 dev->qp_tbl = kcalloc(dev->dsr->caps.max_qp, sizeof(struct pvrdma_qp *), in pvrdma_register_device()246 if (!dev->qp_tbl) in pvrdma_register_device()284 kfree(dev->qp_tbl); in pvrdma_register_device()317 qp = dev->qp_tbl[qpn % dev->dsr->caps.max_qp]; in pvrdma_qp_event()1133 kfree(dev->qp_tbl); in pvrdma_pci_remove()
232 struct pvrdma_qp **qp_tbl; member
386 dev->qp_tbl[qp->qp_handle % dev->dsr->caps.max_qp] = qp; in pvrdma_create_qp()419 dev->qp_tbl[qp->qp_handle] = NULL; in pvrdma_free_qp()
309 qp = rcfw->qp_tbl[qp_id].qp_handle; in bnxt_qplib_process_qp_event()561 kfree(rcfw->qp_tbl); in bnxt_qplib_free_rcfw_channel()609 rcfw->qp_tbl = kcalloc(qp_tbl_sz, sizeof(struct bnxt_qplib_qp_node), in bnxt_qplib_alloc_rcfw_channel()611 if (!rcfw->qp_tbl) in bnxt_qplib_alloc_rcfw_channel()
264 struct bnxt_qplib_qp_node *qp_tbl; member
843 rcfw->qp_tbl[qp->id].qp_id = qp->id; in bnxt_qplib_create_qp1()844 rcfw->qp_tbl[qp->id].qp_handle = (void *)qp; in bnxt_qplib_create_qp1()1070 rcfw->qp_tbl[qp->id].qp_id = qp->id; in bnxt_qplib_create_qp()1071 rcfw->qp_tbl[qp->id].qp_handle = (void *)qp; in bnxt_qplib_create_qp()1422 rcfw->qp_tbl[qp->id].qp_id = BNXT_QPLIB_QP_ID_INVALID; in bnxt_qplib_destroy_qp()1423 rcfw->qp_tbl[qp->id].qp_handle = NULL; in bnxt_qplib_destroy_qp()1431 rcfw->qp_tbl[qp->id].qp_id = qp->id; in bnxt_qplib_destroy_qp()1432 rcfw->qp_tbl[qp->id].qp_handle = qp; in bnxt_qplib_destroy_qp()