Home
last modified time | relevance | path

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

/qemu/hw/scsi/
H A Dmegasas.c284 int iov_count = 0; in megasas_map_sgl() local
288 iov_count = cmd->frame->header.sge_count; in megasas_map_sgl()
289 if (!iov_count || iov_count > MEGASAS_MAX_SGE) { in megasas_map_sgl()
290 trace_megasas_iovec_sgl_overflow(cmd->index, iov_count, in megasas_map_sgl()
294 pci_dma_sglist_init(&cmd->qsg, PCI_DEVICE(s), iov_count); in megasas_map_sgl()
295 for (i = 0; i < iov_count; i++) { in megasas_map_sgl()
699 int iov_count; in megasas_map_dcmd() local
702 iov_count = cmd->frame->header.sge_count; in megasas_map_dcmd()
703 if (!iov_count) { in megasas_map_dcmd()
707 } else if (iov_count > 1) { in megasas_map_dcmd()
[all …]