Lines Matching refs:vm
666 struct kinfo_vmentry *vm; in PopulateMemoryRegionCache() local
668 vm = kinfo_getvmmap(GetID(), &count); in PopulateMemoryRegionCache()
669 if (vm == NULL) { in PopulateMemoryRegionCache()
678 info.GetRange().SetRangeBase(vm[i].kve_start); in PopulateMemoryRegionCache()
679 info.GetRange().SetRangeEnd(vm[i].kve_end); in PopulateMemoryRegionCache()
682 if (vm[i].kve_protection & VM_PROT_READ) in PopulateMemoryRegionCache()
687 if (vm[i].kve_protection & VM_PROT_WRITE) in PopulateMemoryRegionCache()
692 if (vm[i].kve_protection & VM_PROT_EXECUTE) in PopulateMemoryRegionCache()
697 if (vm[i].kve_path[0]) in PopulateMemoryRegionCache()
698 info.SetName(vm[i].kve_path); in PopulateMemoryRegionCache()
703 free(vm); in PopulateMemoryRegionCache()