Searched refs:colo_cache (Results 1 – 2 of 2) sorted by relevance
30 uint8_t *colo_cache; /* For colo, VM's ram cache */ member
3513 if (!block->colo_cache) { in colo_cache_from_block_offset()3527 return block->colo_cache + offset; in colo_cache_from_block_offset()3567 block->colo_cache = qemu_anon_ram_alloc(block->used_length, in colo_init_ram_cache()3569 if (!block->colo_cache) { in colo_init_ram_cache()3574 if (block->colo_cache) { in colo_init_ram_cache()3575 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_init_ram_cache()3576 block->colo_cache = NULL; in colo_init_ram_cache()3582 qemu_madvise(block->colo_cache, block->used_length, in colo_init_ram_cache()3644 if (block->colo_cache) { in colo_release_ram_cache()3645 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_release_ram_cache()[all …]