Home
last modified time | relevance | path

Searched refs:rq_buf (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/elx/efct/
H A Defct_hw.c1178 struct efc_hw_rq_buffer *rq_buf = NULL; in efct_hw_rx_buffer_alloc() local
1185 rq_buf = kmalloc_objs(*rq_buf, count); in efct_hw_rx_buffer_alloc()
1186 if (!rq_buf) in efct_hw_rx_buffer_alloc()
1188 memset(rq_buf, 0, sizeof(*rq_buf) * count); in efct_hw_rx_buffer_alloc()
1190 for (i = 0, prq = rq_buf; i < count; i ++, prq++) { in efct_hw_rx_buffer_alloc()
1199 kfree(rq_buf); in efct_hw_rx_buffer_alloc()
1203 return rq_buf; in efct_hw_rx_buffer_alloc()
1208 struct efc_hw_rq_buffer *rq_buf, in efct_hw_rx_buffer_free() argument
1215 if (rq_buf) { in efct_hw_rx_buffer_free()
1216 for (i = 0, prq = rq_buf; i < count; i++, prq++) { in efct_hw_rx_buffer_free()
[all …]
/linux/drivers/infiniband/hw/erdma/
H A Derdma_qp.c263 memset(qp->kern_qp.rq_buf, 0, qp->attrs.rq_size << RQE_SHIFT); in erdma_reset_qp()
705 get_queue_entry(qp->kern_qp.rq_buf, qp->kern_qp.rq_pi, in erdma_post_recv_one()