Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/elx/efct/
Defct_hw.c1177 struct efc_hw_rq_buffer *rq_buf = NULL; in efct_hw_rx_buffer_alloc() local
1184 rq_buf = kmalloc_array(count, sizeof(*rq_buf), GFP_KERNEL); in efct_hw_rx_buffer_alloc()
1185 if (!rq_buf) in efct_hw_rx_buffer_alloc()
1187 memset(rq_buf, 0, sizeof(*rq_buf) * count); in efct_hw_rx_buffer_alloc()
1189 for (i = 0, prq = rq_buf; i < count; i ++, prq++) { in efct_hw_rx_buffer_alloc()
1198 kfree(rq_buf); in efct_hw_rx_buffer_alloc()
1202 return rq_buf; in efct_hw_rx_buffer_alloc()
1207 struct efc_hw_rq_buffer *rq_buf, in efct_hw_rx_buffer_free() argument
1214 if (rq_buf) { in efct_hw_rx_buffer_free()
1215 for (i = 0, prq = rq_buf; i < count; i++, prq++) { in efct_hw_rx_buffer_free()
[all …]
/linux-6.12.1/drivers/infiniband/hw/erdma/
Derdma_verbs.h167 void *rq_buf; member
Derdma_verbs.c491 if (qp->kern_qp.rq_buf) in free_kernel_qp()
494 qp->kern_qp.rq_buf, in free_kernel_qp()
536 kqp->rq_buf = dma_alloc_coherent(&dev->pdev->dev, size, in init_kernel_qp()
538 if (!kqp->rq_buf) in init_kernel_qp()
Derdma_qp.c544 get_queue_entry(qp->kern_qp.rq_buf, qp->kern_qp.rq_pi, in erdma_post_recv_one()