Lines Matching refs:vmspace

122     struct mac *mac_p, struct vmspace *oldvmspace);
222 struct vmspace *oldvmspace; in sys_execve()
248 struct vmspace *oldvmspace; in sys_fexecve()
279 struct vmspace *oldvmspace; in sys___mac_execve()
298 pre_execve(struct thread *td, struct vmspace **oldvmspace) in pre_execve()
319 post_execve(struct thread *td, int error, struct vmspace *oldvmspace) in post_execve()
349 struct vmspace *oldvmspace) in kern_execve()
391 struct vmspace *oldvmspace) in do_execve()
1045 exec_cleanup(struct thread *td, struct vmspace *oldvmspace) in exec_cleanup()
1116 struct vmspace *vmspace; in exec_free_abi_mappings() local
1118 vmspace = p->p_vmspace; in exec_free_abi_mappings()
1119 if (refcount_load(&vmspace->vm_refcnt) != 1) in exec_free_abi_mappings()
1125 pmap_remove(vmspace_pmap(vmspace), vmspace->vm_shp_base, in exec_free_abi_mappings()
1126 vmspace->vm_shp_base + p->p_sysent->sv_shared_page_len); in exec_free_abi_mappings()
1137 struct vmspace *vmspace = p->p_vmspace; in exec_new_vmspace() local
1156 map = &vmspace->vm_map; in exec_new_vmspace()
1161 if (refcount_load(&vmspace->vm_refcnt) == 1 && in exec_new_vmspace()
1166 shmexit(vmspace); in exec_new_vmspace()
1167 pmap_remove_pages(vmspace_pmap(vmspace)); in exec_new_vmspace()
1181 vmspace = p->p_vmspace; in exec_new_vmspace()
1182 map = &vmspace->vm_map; in exec_new_vmspace()
1200 struct vmspace *vmspace; in exec_map_stack() local
1228 vmspace = p->p_vmspace; in exec_map_stack()
1229 map = &vmspace->vm_map; in exec_map_stack()
1317 vmspace->vm_maxsaddr = (char *)stack_addr; in exec_map_stack()
1318 vmspace->vm_stacktop = stack_top; in exec_map_stack()
1319 vmspace->vm_ssize = sgrowsiz >> PAGE_SHIFT; in exec_map_stack()
1320 vmspace->vm_shp_base = sharedpage_addr; in exec_map_stack()