Lines Matching refs:virt_base
394 def is_region_mapped(self, virt_base, size, level=PT_LEVEL): argument
396 align_check(virt_base, size)
397 for vaddr in range(virt_base, virt_base + size, 4096):
433 def reserve(self, virt_base, size, to_level=PT_LEVEL): argument
436 (virt_base, size))
438 align_check(virt_base, size)
443 if virt_base % scope != 0:
445 (virt_base, scope))
447 for addr in range(virt_base, virt_base + size, scope):
450 def reserve_unaligned(self, virt_base, size, to_level=PT_LEVEL): argument
455 mem_start = round_down(virt_base, scope)
456 mem_end = round_up(virt_base + size, scope)
461 def map(self, phys_base, virt_base, size, flags, level=PT_LEVEL): argument
465 is_identity_map = virt_base is None or virt_base == phys_base
467 if virt_base is None:
468 virt_base = phys_base
473 (phys_base, size, virt_base, dump_flags(flags)))
476 align_check(virt_base, size, scope)
482 vaddr = virt_base + (paddr - phys_base)