Lines Matching refs:used_length

697     unsigned long size = rb->used_length >> TARGET_PAGE_BITS;  in pss_find_next_dirty()
778 unsigned long size = rb->used_length >> TARGET_PAGE_BITS; in colo_bitmap_find_dirty()
901 cpu_physical_memory_sync_dirty_bitmap(rb, 0, rb->used_length); in ramblock_sync_dirty_bitmap()
1601 populate_read_range(rb, 0, rb->used_length); in ram_block_populate_read()
1662 rb->used_length, true, false); in ram_block_uffd_protect()
1937 start, len, ramblock->used_length); in ram_save_queue_pages()
2335 total += block->used_length; in ram_bytes_total_with_ignored()
2348 total += block->used_length; in ram_bytes_total()
2449 unsigned long range = block->used_length >> TARGET_PAGE_BITS; in ram_postcopy_migrated_memory_release()
2473 unsigned long end = block->used_length >> TARGET_PAGE_BITS; in postcopy_send_discard_bm_ram()
2553 unsigned long pages = block->used_length >> TARGET_PAGE_BITS; in postcopy_chunk_hostpages_pass()
2852 block->used_length >> TARGET_PAGE_BITS); in ram_state_resume_prepare()
2886 if (unlikely(!block || offset >= block->used_length)) { in qemu_guest_free_page_hint()
2896 if (len <= block->used_length - offset) { in qemu_guest_free_page_hint()
2899 used_len = block->used_length - offset; in qemu_guest_free_page_hint()
2961 qemu_put_be64(f, block->used_length); in ram_save_setup()
3414 block->colo_cache = qemu_anon_ram_alloc(block->used_length, in colo_init_ram_cache()
3419 block->used_length); in colo_init_ram_cache()
3422 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_init_ram_cache()
3429 qemu_madvise(block->colo_cache, block->used_length, in colo_init_ram_cache()
3487 qemu_anon_ram_free(block->colo_cache, block->used_length); in colo_release_ram_cache()
3805 if (length != block->used_length) { in parse_ramblock()
4124 unsigned long nbits = block->used_length >> TARGET_PAGE_BITS; in ram_dirty_bitmap_reload()