Lines Matching refs:buffer_length
179 efc_dma_copy_in(struct efc_dma *dma, void *buffer, u32 buffer_length) in efc_dma_copy_in() argument
181 if (!dma || !buffer || !buffer_length) in efc_dma_copy_in()
184 if (buffer_length > dma->size) in efc_dma_copy_in()
185 buffer_length = dma->size; in efc_dma_copy_in()
187 memcpy(dma->virt, buffer, buffer_length); in efc_dma_copy_in()
188 dma->len = buffer_length; in efc_dma_copy_in()
222 efc_node_fcid_display(u32 fc_id, char *buffer, u32 buffer_length) in efc_node_fcid_display() argument
226 snprintf(buffer, buffer_length, "fabric"); in efc_node_fcid_display()
229 snprintf(buffer, buffer_length, "fabctl"); in efc_node_fcid_display()
232 snprintf(buffer, buffer_length, "nserve"); in efc_node_fcid_display()
236 snprintf(buffer, buffer_length, "dctl%02x", in efc_node_fcid_display()
239 snprintf(buffer, buffer_length, "%06x", fc_id); in efc_node_fcid_display()