Searched refs:memslot_offset (Results 1 – 2 of 2) sorted by relevance
62 uint64_t memslot_offset; in our_range_memslots_init_slots() local69 for (idx = 0, memslot_offset = 0; idx < memslots->count; in our_range_memslots_init_slots()70 idx++, memslot_offset += memslots->size_each) { in our_range_memslots_init_slots()80 memslot_size = region_size - memslot_offset; in our_range_memslots_init_slots()87 backing_mr, memslot_offset, memslot_size); in our_range_memslots_init_slots()
495 const uint64_t memslot_offset = idx * vmem->memslot_size; in virtio_mem_activate_memslot() local507 memory_region_add_subregion(vmem->mr, memslot_offset, &vmem->memslots[idx]); in virtio_mem_activate_memslot()553 const uint64_t memslot_offset = idx * vmem->memslot_size; in virtio_mem_deactivate_unplugged_memslots() local558 memslot_size = region_size - memslot_offset; in virtio_mem_deactivate_unplugged_memslots()565 if (offset > memslot_offset || in virtio_mem_deactivate_unplugged_memslots()566 offset + size < memslot_offset + memslot_size) { in virtio_mem_deactivate_unplugged_memslots()567 const uint64_t gpa = vmem->addr + memslot_offset; in virtio_mem_deactivate_unplugged_memslots()931 const uint64_t memslot_offset = idx * vmem->memslot_size; in virtio_mem_prepare_memslots() local937 memslot_size = region_size - memslot_offset; in virtio_mem_prepare_memslots()942 &vmem->memdev->mr, memslot_offset, in virtio_mem_prepare_memslots()