Lines Matching refs:vmspace
185 struct vmspace *vmspace; /* (o) guest's address space */ member
249 DEFINE_VMMOPS_IFUNC(struct vmspace *, vmspace_alloc, (vm_offset_t min,
251 DEFINE_VMMOPS_IFUNC(void, vmspace_free, (struct vmspace *vmspace))
524 vm->cookie = vmmops_init(vm, vmspace_pmap(vm->vmspace)); in vm_init()
609 struct vmspace *vmspace; in vm_create() local
622 vmspace = vmmops_vmspace_alloc(0, VM_MAXUSER_ADDRESS_LA48); in vm_create()
623 if (vmspace == NULL) in vm_create()
628 vm->vmspace = vmspace; in vm_create()
725 vmmops_vmspace_free(vm->vmspace); in vm_cleanup()
726 vm->vmspace = NULL; in vm_cleanup()
790 if ((obj = vmm_mmio_alloc(vm->vmspace, gpa, len, hpa)) == NULL) in vm_map_mmio()
800 vmm_mmio_free(vm->vmspace, gpa, len); in vm_unmap_mmio()
945 error = vm_map_find(&vm->vmspace->vm_map, seg->object, first, &gpa, in vm_mmap_memseg()
953 error = vm_map_wire(&vm->vmspace->vm_map, gpa, gpa + len, in vm_mmap_memseg()
956 vm_map_remove(&vm->vmspace->vm_map, gpa, gpa + len); in vm_mmap_memseg()
1031 error = vm_map_remove(&vm->vmspace->vm_map, mm->gpa, in vm_free_memmap()
1089 hpa = pmap_extract(vmspace_pmap(vm->vmspace), gpa); in vm_iommu_map()
1137 vmspace_pmap(vm->vmspace), gpa))), in vm_iommu_unmap()
1203 count = vm_fault_quick_hold_pages(&vm->vmspace->vm_map, in _vm_gpa_hold()
1629 rv = pmap_emulate_accessed_dirty(vmspace_pmap(vm->vmspace), in vm_handle_paging()
1639 map = &vm->vmspace->vm_map; in vm_handle_paging()
1940 pmap = vmspace_pmap(vm->vmspace); in vm_run()
2682 struct vmspace *
2686 return (vm->vmspace); in vm_get_vmspace()
2894 vmspace_resident_count(vcpu->vm->vmspace)); in vm_get_rescnt()
2904 pmap_wired_count(vmspace_pmap(vcpu->vm->vmspace))); in vm_get_wiredcnt()