Lines Matching refs:vmspace

124     struct mac *mac_p, struct vmspace *oldvmspace);
224 struct vmspace *oldvmspace; in sys_execve()
250 struct vmspace *oldvmspace; in sys_fexecve()
281 struct vmspace *oldvmspace; in sys___mac_execve()
300 pre_execve(struct thread *td, struct vmspace **oldvmspace) in pre_execve()
321 post_execve(struct thread *td, int error, struct vmspace *oldvmspace) in post_execve()
351 struct vmspace *oldvmspace) in kern_execve()
384 struct vmspace *oldvmspace) in do_execve()
1035 exec_cleanup(struct thread *td, struct vmspace *oldvmspace) in exec_cleanup()
1106 struct vmspace *vmspace; in exec_free_abi_mappings() local
1109 vmspace = p->p_vmspace; in exec_free_abi_mappings()
1110 if (refcount_load(&vmspace->vm_refcnt) != 1) in exec_free_abi_mappings()
1117 pmap_remove(vmspace_pmap(vmspace), sv->sv_shared_page_base, in exec_free_abi_mappings()
1130 struct vmspace *vmspace = p->p_vmspace; in exec_new_vmspace() local
1152 map = &vmspace->vm_map; in exec_new_vmspace()
1157 if (refcount_load(&vmspace->vm_refcnt) == 1 && in exec_new_vmspace()
1162 shmexit(vmspace); in exec_new_vmspace()
1163 pmap_remove_pages(vmspace_pmap(vmspace)); in exec_new_vmspace()
1177 vmspace = p->p_vmspace; in exec_new_vmspace()
1178 map = &vmspace->vm_map; in exec_new_vmspace()
1210 struct vmspace *vmspace; in exec_map_stack() local
1236 vmspace = p->p_vmspace; in exec_map_stack()
1237 map = &vmspace->vm_map; in exec_map_stack()
1270 vmspace->vm_maxsaddr = (char *)stack_addr; in exec_map_stack()
1271 vmspace->vm_stacktop = stack_top; in exec_map_stack()
1272 vmspace->vm_ssize = sgrowsiz >> PAGE_SHIFT; in exec_map_stack()