Lines Matching refs:vmspace
144 struct vmspace *vmspace; /* (o) guest's address space */ member
305 vm->cookie = vmmops_init(vm, vmspace_pmap(vm->vmspace)); in vm_init()
382 struct vmspace *vmspace; in vm_create() local
394 vmspace = vmmops_vmspace_alloc(0, 1ul << 39); in vm_create()
395 if (vmspace == NULL) in vm_create()
400 vm->vmspace = vmspace; in vm_create()
482 vmmops_vmspace_free(vm->vmspace); in vm_cleanup()
483 vm->vmspace = NULL; in vm_cleanup()
685 error = vm_map_find(&vm->vmspace->vm_map, seg->object, first, &gpa, in vm_mmap_memseg()
693 error = vm_map_wire(&vm->vmspace->vm_map, gpa, gpa + len, in vm_mmap_memseg()
696 vm_map_remove(&vm->vmspace->vm_map, gpa, gpa + len); in vm_mmap_memseg()
772 error = vm_map_remove(&vm->vmspace->vm_map, mm->gpa, in vm_free_memmap()
1288 count = vm_fault_quick_hold_pages(&vm->vmspace->vm_map, in _vm_gpa_hold()
1448 pmap = vmspace_pmap(vm->vmspace); in vm_handle_paging()
1471 map = &vm->vmspace->vm_map; in vm_handle_paging()
1553 pmap = vmspace_pmap(vm->vmspace); in vm_run()