Searched refs:newvmspace (Results 1 – 1 of 1) sorted by relevance
4864 struct vmspace *newvmspace; in vmspace_exec() local4868 newvmspace = vmspace_alloc(minuser, maxuser, pmap_pinit); in vmspace_exec()4869 if (newvmspace == NULL) in vmspace_exec()4871 newvmspace->vm_swrss = oldvmspace->vm_swrss; in vmspace_exec()4880 p->p_vmspace = newvmspace; in vmspace_exec()4896 struct vmspace *newvmspace; in vmspace_unshare() local4902 newvmspace = vmspace_fork(oldvmspace, &fork_charge); in vmspace_unshare()4903 if (newvmspace == NULL) in vmspace_unshare()4906 vmspace_free(newvmspace); in vmspace_unshare()4910 p->p_vmspace = newvmspace; in vmspace_unshare()