Lines Matching refs:colo_cache
3472 if (!block->colo_cache) { in colo_cache_from_block_offset()
3486 return block->colo_cache + offset; in colo_cache_from_block_offset()
3526 block->colo_cache = qemu_anon_ram_alloc(block->used_length, in colo_init_ram_cache()
3528 if (!block->colo_cache) { in colo_init_ram_cache()
3533 if (block->colo_cache) { in colo_init_ram_cache()
3534 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_init_ram_cache()
3535 block->colo_cache = NULL; in colo_init_ram_cache()
3541 qemu_madvise(block->colo_cache, block->used_length, in colo_init_ram_cache()
3603 if (block->colo_cache) { in colo_release_ram_cache()
3604 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_release_ram_cache()
3605 block->colo_cache = NULL; in colo_release_ram_cache()
3882 src_host = block->colo_cache in colo_flush_ram_cache()