Lines Matching defs:vmspace
122 struct mac *mac_p, struct vmspace *oldvmspace);
222 struct vmspace *oldvmspace;
248 struct vmspace *oldvmspace;
279 struct vmspace *oldvmspace;
298 pre_execve(struct thread *td, struct vmspace **oldvmspace)
319 post_execve(struct thread *td, int error, struct vmspace *oldvmspace)
349 struct vmspace *oldvmspace)
391 struct vmspace *oldvmspace)
1045 exec_cleanup(struct thread *td, struct vmspace *oldvmspace)
1110 * managed mappings in the process' vmspace pmap, no work will be left
1116 struct vmspace *vmspace;
1118 vmspace = p->p_vmspace;
1119 if (refcount_load(&vmspace->vm_refcnt) != 1)
1125 pmap_remove(vmspace_pmap(vmspace), vmspace->vm_shp_base,
1126 vmspace->vm_shp_base + p->p_sysent->sv_shared_page_len);
1137 struct vmspace *vmspace = p->p_vmspace;
1156 map = &vmspace->vm_map;
1161 if (refcount_load(&vmspace->vm_refcnt) == 1 &&
1166 shmexit(vmspace);
1167 pmap_remove_pages(vmspace_pmap(vmspace));
1181 vmspace = p->p_vmspace;
1182 map = &vmspace->vm_map;
1200 struct vmspace *vmspace;
1228 vmspace = p->p_vmspace;
1229 map = &vmspace->vm_map;
1317 vmspace->vm_maxsaddr = (char *)stack_addr;
1318 vmspace->vm_stacktop = stack_top;
1319 vmspace->vm_ssize = sgrowsiz >> PAGE_SHIFT;
1320 vmspace->vm_shp_base = sharedpage_addr;