Home
last modified time | relevance | path

Searched refs:rb_offset (Results 1 – 9 of 9) sorted by path

/qemu/hw/hyperv/
H A Dhv-balloon.c844 ram_addr_t rb_offset; in hv_balloon_handle_remove_host_addr_node() local
850 rb = qemu_ram_block_from_host(addr, false, &rb_offset); in hv_balloon_handle_remove_host_addr_node()
862 (rb->max_length - rb_offset) / in hv_balloon_handle_remove_host_addr_node()
866 if (ram_block_discard_range(rb, rb_offset, discard_size * in hv_balloon_handle_remove_host_addr_node()
/qemu/hw/virtio/
H A Dtrace-events21 …ler_found(int i, uint64_t region_offset, uint64_t rb_offset) "%d: region_offset: 0x%"PRIx64" rb_of…
25 vhost_user_postcopy_waker(const char *rb, uint64_t rb_offset) "%s + 0x%"PRIx64
27 vhost_user_postcopy_waker_nomatch(const char *rb, uint64_t rb_offset) "%s + 0x%"PRIx64
H A Dvhost-user.c1923 uint64_t rb_offset; in vhost_user_postcopy_fault_handler() local
1935 rb_offset = region_offset + u->region_rb_offset[i]; in vhost_user_postcopy_fault_handler()
1937 region_offset, rb_offset); in vhost_user_postcopy_fault_handler()
1940 rb_offset); in vhost_user_postcopy_fault_handler()
H A Dvirtio-balloon.c83 ram_addr_t rb_offset, rb_aligned_offset, base_gpa; in balloon_inflate_page() local
90 rb = qemu_ram_block_from_host(addr, false, &rb_offset); in balloon_inflate_page()
96 ram_block_discard_range(rb, rb_offset, rb_page_size); in balloon_inflate_page()
112 rb_aligned_offset = QEMU_ALIGN_DOWN(rb_offset, rb_page_size); in balloon_inflate_page()
115 (rb_offset - rb_aligned_offset); in balloon_inflate_page()
128 set_bit((rb_offset - rb_aligned_offset) / BALLOON_PAGE_SIZE, in balloon_inflate_page()
147 ram_addr_t rb_offset; in balloon_deflate_page() local
155 rb = qemu_ram_block_from_host(addr, false, &rb_offset); in balloon_deflate_page()
/qemu/migration/
H A Dpostcopy-ram.c792 uint64_t client_addr, uint64_t rb_offset) in postcopy_request_shared_page() argument
794 uint64_t aligned_rbo = ROUND_DOWN(rb_offset, qemu_ram_pagesize(rb)); in postcopy_request_shared_page()
798 rb_offset); in postcopy_request_shared_page()
801 qemu_ram_get_idstr(rb), rb_offset); in postcopy_request_shared_page()
997 ram_addr_t rb_offset; in postcopy_ram_fault_thread() local
1067 true, &rb_offset); in postcopy_ram_fault_thread()
1074 rb_offset = ROUND_DOWN(rb_offset, qemu_ram_pagesize(rb)); in postcopy_ram_fault_thread()
1077 rb_offset, in postcopy_ram_fault_thread()
1088 ret = postcopy_request_page(mis, rb, rb_offset, in postcopy_ram_fault_thread()
1425 uint64_t client_addr, uint64_t rb_offset) in postcopy_request_shared_page() argument
H A Dsavevm.c2210 ram_addr_t rb_offset; in postcopy_sync_page_req() local
2214 rb = qemu_ram_block_from_host(host_addr, true, &rb_offset); in postcopy_sync_page_req()
2227 ret = migrate_send_rp_message_req_pages(mis, rb, rb_offset); in postcopy_sync_page_req()
H A Dtrace-events299 postcopy_request_shared_page(const char *sharer, const char *rb, uint64_t rb_offset) "for %s in %s …
300 postcopy_request_shared_page_present(const char *sharer, const char *rb, uint64_t rb_offset) "%s al…
/qemu/tests/qemu-iotests/
H A D06061 rb_offset=131072 # 0x20000 (XXX: just an assumption)
113 poke_file "$TEST_IMG" "$(($rb_offset+8))" "\x00\x01"
171 poke_file "$TEST_IMG" "$(($rb_offset+10))" "\x00\x00"
173 poke_file "$TEST_IMG" "$(($rb_offset+12))" "\x00\x00"
191 poke_file "$TEST_IMG" "$rb_offset" "\x00\x00"
287 poke_file "$TEST_IMG" "$rb_offset" "\x00\x00\x00\x00\x00\x00\x00\x00"
297 poke_file "$TEST_IMG" "$rb_offset" "\x00\x00\x00\x00\x00\x00\x00\x00"
H A D108202 rb_offset=$(peek_file_be "$TEST_IMG" $rt_offset 8)
203 poke_file "$TEST_IMG" $rb_offset "\x00\x00"
284 rb_offset=$(peek_file_be "$TEST_IMG" $rt_offset 8)
285 poke_file "$TEST_IMG" $rb_offset "\x00\x00"
382 rb_offset=$(peek_file_be "$export_mp" $rt_offset 8)
383 poke_file "$export_mp" $rb_offset "\x00\x00"