Lines Matching refs:vmspace
61 struct vmspace *vmspace; in exec_linux_imgact() local
123 vmspace = imgp->proc->p_vmspace; in exec_linux_imgact()
138 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr, in exec_linux_imgact()
157 error = vm_map_protect(&vmspace->vm_map, vmaddr, in exec_linux_imgact()
170 error = vm_mmap(&vmspace->vm_map, &vmaddr, in exec_linux_imgact()
185 error = vm_map_protect(&vmspace->vm_map, vmaddr + a_out->a_text, in exec_linux_imgact()
196 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr, in exec_linux_imgact()
207 vmspace->vm_tsize = round_page(a_out->a_text) >> PAGE_SHIFT; in exec_linux_imgact()
208 vmspace->vm_dsize = round_page(a_out->a_data + bss_size) >> PAGE_SHIFT; in exec_linux_imgact()
209 vmspace->vm_taddr = (caddr_t)(void *)(uintptr_t)virtual_offset; in exec_linux_imgact()
210 vmspace->vm_daddr = in exec_linux_imgact()