Lines Matching refs:cur_bytes
708 u32 cur_bytes = min_t(u64, max_bytes, nolb * src_dev->dev_attrib.block_size); in target_xcopy_do_work() local
709 unsigned short cur_nolb = cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()
711 if (cur_bytes != xop->xop_data_bytes) { in target_xcopy_do_work()
719 cur_bytes, in target_xcopy_do_work()
723 xop->xop_data_bytes = cur_bytes; in target_xcopy_do_work()
729 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_bytes); in target_xcopy_do_work()
733 src_lba += cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()
741 dst_lba, cur_bytes); in target_xcopy_do_work()
745 dst_lba += cur_bytes / dst_dev->dev_attrib.block_size; in target_xcopy_do_work()
749 copied_bytes += cur_bytes; in target_xcopy_do_work()
750 nolb -= cur_bytes / src_dev->dev_attrib.block_size; in target_xcopy_do_work()