Home
last modified time | relevance | path

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

/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 …]