Lines Matching refs:cq_buf
1758 struct irdma_cq_buf *cq_buf = container_of(work, struct irdma_cq_buf, work); in irdma_free_cqbuf() local
1760 dma_free_coherent(cq_buf->hw->device, cq_buf->kmem_buf.size, in irdma_free_cqbuf()
1761 cq_buf->kmem_buf.va, cq_buf->kmem_buf.pa); in irdma_free_cqbuf()
1762 cq_buf->kmem_buf.va = NULL; in irdma_free_cqbuf()
1763 kfree(cq_buf); in irdma_free_cqbuf()
1777 struct irdma_cq_buf *cq_buf; in irdma_process_resize_list() local
1781 cq_buf = list_entry(list_node, struct irdma_cq_buf, list); in irdma_process_resize_list()
1782 if (cq_buf == lcqe_buf) in irdma_process_resize_list()
1785 list_del(&cq_buf->list); in irdma_process_resize_list()
1786 queue_work(iwdev->cleanup_wq, &cq_buf->work); in irdma_process_resize_list()
1846 struct irdma_cq_buf *cq_buf = NULL; in irdma_resize_cq() local
1918 cq_buf = kzalloc(sizeof(*cq_buf), GFP_KERNEL); in irdma_resize_cq()
1919 if (!cq_buf) { in irdma_resize_cq()
1948 if (cq_buf) { in irdma_resize_cq()
1949 cq_buf->kmem_buf = iwcq->kmem; in irdma_resize_cq()
1950 cq_buf->hw = dev->hw; in irdma_resize_cq()
1951 memcpy(&cq_buf->cq_uk, &iwcq->sc_cq.cq_uk, sizeof(cq_buf->cq_uk)); in irdma_resize_cq()
1952 INIT_WORK(&cq_buf->work, irdma_free_cqbuf); in irdma_resize_cq()
1953 list_add_tail(&cq_buf->list, &iwcq->resize_list); in irdma_resize_cq()
1968 kfree(cq_buf); in irdma_resize_cq()
3510 struct irdma_cq_buf *cq_buf; in __irdma_poll_cq() local
3523 cq_buf = container_of(list_node, struct irdma_cq_buf, list); in __irdma_poll_cq()
3525 ret = irdma_poll_one(&cq_buf->cq_uk, cur_cqe, entry + npolled); in __irdma_poll_cq()
3543 last_buf = cq_buf; in __irdma_poll_cq()