Lines Matching refs:start_addr
44 target_phys_addr_t start_addr;
87 target_phys_addr_t start_addr,
95 if (start_addr == mem->start_addr &&
96 end_addr == mem->start_addr + mem->memory_size) {
108 target_phys_addr_t start_addr,
118 (found && found->start_addr < mem->start_addr)) {
122 if (end_addr > mem->start_addr &&
123 start_addr < mem->start_addr + mem->memory_size) {
136 mem.guest_phys_addr = slot->start_addr;
296 int kvm_physical_sync_dirty_bitmap(target_phys_addr_t start_addr,
308 while (start_addr < end_addr) {
309 mem = kvm_lookup_overlapping_slot(s, start_addr, end_addr);
331 for (phys_addr = mem->start_addr, addr = mem->phys_offset;
332 phys_addr < mem->start_addr + mem->memory_size;
335 unsigned nr = (phys_addr - mem->start_addr) >> TARGET_PAGE_BITS;
343 start_addr = phys_addr;
670 void kvm_set_phys_mem(target_phys_addr_t start_addr,
679 if (start_addr & ~TARGET_PAGE_MASK) {
681 if (!kvm_lookup_overlapping_slot(s, start_addr,
682 start_addr + size)) {
696 mem = kvm_lookup_overlapping_slot(s, start_addr, start_addr + size);
701 if (flags < IO_MEM_UNASSIGNED && start_addr >= mem->start_addr &&
702 (start_addr + size <= mem->start_addr + mem->memory_size) &&
703 (phys_offset - start_addr == mem->phys_offset - mem->start_addr)) {
729 old.start_addr == start_addr && old.memory_size < size &&
733 mem->start_addr = old.start_addr;
744 start_addr += old.memory_size;
751 if (old.start_addr < start_addr) {
753 mem->memory_size = start_addr - old.start_addr;
754 mem->start_addr = old.start_addr;
767 if (old.start_addr + old.memory_size > start_addr + size) {
771 mem->start_addr = start_addr + size;
772 size_delta = mem->start_addr - old.start_addr;
796 mem->start_addr = start_addr;