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.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/drivers/scsi/fnic/
H A Dfnic_fcs.c618 void *rq_buf = buf->os_buf; in fnic_free_rq_buf() local
624 kfree(rq_buf); in fnic_free_rq_buf()