Searched refs:newvmspace (Results 1 – 1 of 1) sorted by relevance
4924 struct vmspace *newvmspace; in vmspace_exec() local4928 newvmspace = vmspace_alloc(minuser, maxuser, pmap_pinit); in vmspace_exec()4929 if (newvmspace == NULL) in vmspace_exec()4931 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()4940 p->p_vmspace = newvmspace; in vmspace_exec()4956 struct vmspace *newvmspace; in vmspace_unshare() local4966 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()4967 if (newvmspace == NULL) in vmspace_unshare()4970 vmspace_free(newvmspace); in vmspace_unshare()4974 p->p_vmspace = newvmspace; in vmspace_unshare()