Lines Matching refs:residue
396 u64 start_offset, start_sector, sectors, residue; in mmc_byte_io() local
419 residue = part->info.blksz - in mmc_byte_io()
421 if (residue > num_bytes) in mmc_byte_io()
422 residue = num_bytes; in mmc_byte_io()
424 residue = num_bytes; in mmc_byte_io()
443 memcpy(buffer, (void *)tmp_buf, residue); in mmc_byte_io()
457 buffer, residue); in mmc_byte_io()
468 io_cnt += residue; in mmc_byte_io()
469 buffer += residue; in mmc_byte_io()
470 start_offset += residue; in mmc_byte_io()
471 num_bytes -= residue; in mmc_byte_io()