Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c1498 uint32_t bytes_copy; in csio_scsi_copy_to_sgl() local
1527 bytes_copy = min((dma_buf->len - buf_off), in csio_scsi_copy_to_sgl()
1529 bytes_copy = min((uint32_t)(PAGE_SIZE - (sg_off & ~PAGE_MASK)), in csio_scsi_copy_to_sgl()
1530 bytes_copy); in csio_scsi_copy_to_sgl()
1540 sg_addr, sg_off, buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
1541 memcpy(sg_addr + (sg_off & ~PAGE_MASK), buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
1544 start_off += bytes_copy; in csio_scsi_copy_to_sgl()
1545 buf_off += bytes_copy; in csio_scsi_copy_to_sgl()
1546 bytes_left -= bytes_copy; in csio_scsi_copy_to_sgl()