Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/cxgb4/
Dcq.c70 kfree(cq->sw_queue); in destroy_cq()
96 cq->sw_queue = kzalloc(cq->memsize, GFP_KERNEL); in create_cq()
97 if (!cq->sw_queue) { in create_cq()
170 kfree(cq->sw_queue); in create_cq()
190 cq->sw_queue[cq->sw_pidx] = cqe; in insert_recv_cqe()
224 cq->sw_queue[cq->sw_pidx] = cqe; in insert_sq_cqe()
259 swcqe = &cq->sw_queue[cq->sw_pidx]; in c4iw_flush_hw_cq()
292 cqe = &cq->sw_queue[ptr]; in c4iw_count_scqes()
312 cqe = &cq->sw_queue[ptr]; in c4iw_count_rcqes()
344 cq->sw_queue[cq->sw_pidx] = swsqe->cqe; in flush_completed_wrs()
Dt4.h459 struct t4_cqe *sw_queue; member
554 return &cq->sw_queue[cq->sw_cidx]; in t4_next_sw_cqe()
565 *cqe = &cq->sw_queue[cq->sw_cidx]; in t4_next_cqe()
/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c168 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()
1095 *(cq->sw_queue + Q_PTR2IDX(cq->sw_wptr, cq->size_log2)) in flush_completed_wrs()
Dcxio_wr.h723 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()