Searched refs:sw_queue (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 66 kfree(cq->sw_queue); in destroy_cq() 92 cq->sw_queue = kzalloc(cq->memsize, GFP_KERNEL); in create_cq() 93 if (!cq->sw_queue) { in create_cq() 172 kfree(cq->sw_queue); in create_cq() 192 cq->sw_queue[cq->sw_pidx] = cqe; in insert_recv_cqe() 226 cq->sw_queue[cq->sw_pidx] = cqe; in insert_sq_cqe() 289 cq->sw_queue[cq->sw_pidx] = swsqe->cqe; in flush_completed_wrs() 402 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 438 cqe = &cq->sw_queue[ptr]; in c4iw_count_rcqes()
|
D | t4.h | 546 struct t4_cqe *sw_queue; member 679 return &cq->sw_queue[cq->sw_cidx]; in t4_next_sw_cqe() 690 *cqe = &cq->sw_queue[cq->sw_cidx]; in t4_next_cqe()
|
/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.c | 168 cq->sw_queue = kzalloc(size, GFP_KERNEL); in cxio_create_cq() 169 if (!cq->sw_queue) in cxio_create_cq() 175 kfree(cq->sw_queue); in cxio_create_cq() 327 kfree(cq->sw_queue); in cxio_destroy_cq() 364 *(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) = cqe; in insert_recv_cqe() 403 *(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) = cqe; in insert_sq_cqe() 437 swcqe = cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2); in cxio_flush_hw_cq() 472 cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2)); in cxio_count_scqes() 491 cqe = cq->sw_queue + (Q_PTR2IDX(ptr, cq->size_log2)); in cxio_count_rcqes() 1093 *(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) in flush_completed_wrs()
|
D | cxio_wr.h | 723 struct t3_cqe *sw_queue; member 782 cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2)); in cxio_next_sw_cqe() 793 cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2)); in cxio_next_cqe()
|