Searched refs:newvmspace (Results 1 – 1 of 1) sorted by relevance
4943 struct vmspace *newvmspace; in vmspace_exec() local4947 newvmspace = vmspace_alloc(minuser, maxuser, pmap_pinit); in vmspace_exec()4948 if (newvmspace == NULL) in vmspace_exec()4950 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()4959 p->p_vmspace = newvmspace; in vmspace_exec()4975 struct vmspace *newvmspace; in vmspace_unshare() local4985 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()4986 if (newvmspace == NULL) in vmspace_unshare()4989 vmspace_free(newvmspace); in vmspace_unshare()4993 p->p_vmspace = newvmspace; in vmspace_unshare()