Lines Matching refs:vmspace

211 	struct vmspace	*vmspace;		/* (o) guest's address space */  member
596 struct vmspace *vmspace; in vm_create() local
609 vmspace = vmspace_alloc(VM_MAXUSER_ADDRESS, pte_ops, track_dirty); in vm_create()
610 if (vmspace == NULL) in vm_create()
615 vm->vmspace = vmspace; in vm_create()
618 vm->vcpu[i].vmclient = vmspace_client_alloc(vmspace); in vm_create()
725 vmspace_destroy(vm->vmspace); in vm_cleanup()
726 vm->vmspace = NULL; in vm_cleanup()
809 if ((obj = vmm_mmio_alloc(vm->vmspace, gpa, len, hpa)) == NULL) in vm_map_mmio()
818 return (vmspace_unmap(vm->vmspace, gpa, len)); in vm_unmap_mmio()
957 error = vmspace_map(vm->vmspace, seg->object, first, gpa, len, prot); in vm_mmap_memseg()
964 error = vmspace_populate(vm->vmspace, gpa, len); in vm_mmap_memseg()
966 VERIFY0(vmspace_unmap(vm->vmspace, gpa, len)); in vm_mmap_memseg()
1040 error = vmspace_unmap(vm->vmspace, mm->gpa, mm->len); in vm_free_memmap()
1083 vmc = vmspace_client_alloc(vm->vmspace); in vm_iommu_modify()
1381 if (!vmspace_get_tracking(vm->vmspace)) { in vm_track_dirty_pages()
1385 vmspace_bits_operate(vm->vmspace, gpa, len, in vm_track_dirty_pages()
1416 vmspace_bits_operate(vm->vmspace, gpa, len, oper, bitmap); in vm_npt_do_operation()
1420 *rvalp = vmspace_get_tracking(vm->vmspace) ? 1 : 0; in vm_npt_do_operation()
1423 return (vmspace_set_tracking(vm->vmspace, true)); in vm_npt_do_operation()
1425 return (vmspace_set_tracking(vm->vmspace, false)); in vm_npt_do_operation()
3652 struct vmspace *
3656 return (vm->vmspace); in vm_get_vmspace()
3835 PAGE_SIZE * vmspace_resident_count(vm->vmspace)); in vm_get_rescnt()