Home
last modified time | relevance | path

Searched refs:used_length (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/migration/
H A Dram.c715 unsigned long size = rb->used_length >> TARGET_PAGE_BITS; in pss_find_next_dirty()
796 unsigned long size = rb->used_length >> TARGET_PAGE_BITS; in colo_bitmap_find_dirty()
919 cpu_physical_memory_sync_dirty_bitmap(rb, 0, rb->used_length); in ramblock_sync_dirty_bitmap()
1585 populate_read_range(rb, 0, rb->used_length); in ram_block_populate_read()
1646 rb->used_length, true, false); in ram_block_uffd_protect()
1919 start, len, ramblock->used_length); in ram_save_queue_pages()
2297 total += block->used_length; in ram_bytes_total_with_ignored()
2310 total += block->used_length; in ram_bytes_total()
2419 unsigned long range = block->used_length >> TARGET_PAGE_BITS; in ram_postcopy_migrated_memory_release()
2443 unsigned long end = block->used_length >> TARGET_PAGE_BITS; in postcopy_send_discard_bm_ram()
[all …]
H A Dmultifd-nocomp.c267 if (offset > (p->block->used_length - page_size)) { in multifd_ram_unfill_packet()
270 offset, p->block->used_length); in multifd_ram_unfill_packet()
279 if (offset > (p->block->used_length - page_size)) { in multifd_ram_unfill_packet()
282 offset, p->block->used_length); in multifd_ram_unfill_packet()
H A Dfile.c233 if (offset >= block->used_length) { in file_write_ramblock_iov()
H A Ddirtyrate.c610 block->used_length); in dirtyrate_manual_reset_protect()
/openbmc/qemu/include/exec/
H A Dramblock.h33 ram_addr_t used_length; member
H A Dram_addr.h82 return (b && b->host && offset < b->used_length) ? true : false; in offset_in_ramblock()
148 qemu_ram_msync(block, 0, block->used_length); in qemu_ram_block_writeback()
/openbmc/qemu/system/
H A Dphysmem.c897 start + length <= ramblock->offset + ramblock->used_length); in cpu_physical_memory_test_and_clear_dirty()
1173 (uint64_t)block->used_length, in ram_block_format()
1569 return rb->used_length; in qemu_ram_get_used_length()
1701 const ram_addr_t oldsize = block->used_length; in qemu_ram_resize()
1709 if (block->used_length == newsize) { in qemu_ram_resize()
1727 newsize, block->used_length); in qemu_ram_resize()
1744 cpu_physical_memory_clear_dirty_range(block->offset, block->used_length); in qemu_ram_resize()
1745 block->used_length = newsize; in qemu_ram_resize()
1746 cpu_physical_memory_set_dirty_range(block->offset, block->used_length, in qemu_ram_resize()
1764 g_assert((start + length) <= block->used_length); in qemu_ram_msync()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2457 unsigned int buffer_length, used_length; in lan743x_rx_init_ring_element() local
2481 used_length = min(RX_DESC_DATA0_FRAME_LENGTH_GET_ in lan743x_rx_init_ring_element()
2485 used_length = buffer_info->buffer_length; in lan743x_rx_init_ring_element()
2487 used_length, in lan743x_rx_init_ring_element()