Searched refs:newvmspace (Results 1 – 1 of 1) sorted by relevance
4930 struct vmspace *newvmspace; in vmspace_exec() local4934 newvmspace = vmspace_alloc(minuser, maxuser, pmap_pinit); in vmspace_exec()4935 if (newvmspace == NULL) in vmspace_exec()4937 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()4946 p->p_vmspace = newvmspace; in vmspace_exec()4962 struct vmspace *newvmspace; in vmspace_unshare() local4972 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()4973 if (newvmspace == NULL) in vmspace_unshare()4976 vmspace_free(newvmspace); in vmspace_unshare()4980 p->p_vmspace = newvmspace; in vmspace_unshare()