Searched refs:vmspace (Results 1 - 25 of 67) sorted by relevance

123

/freebsd-10-stable/sys/amd64/vmm/amd/
H A Dnpt.h33 struct vmspace *svm_npt_alloc(vm_offset_t min, vm_offset_t max);
34 void svm_npt_free(struct vmspace *vmspace);
H A Dnpt.c75 struct vmspace *
83 svm_npt_free(struct vmspace *vmspace) argument
86 vmspace_free(vmspace);
/freebsd-10-stable/sys/amd64/vmm/intel/
H A Dept.h36 struct vmspace *ept_vmspace_alloc(vm_offset_t min, vm_offset_t max);
37 void ept_vmspace_free(struct vmspace *vmspace);
H A Dept.c182 struct vmspace *
190 ept_vmspace_free(struct vmspace *vmspace) argument
193 vmspace_free(vmspace);
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm_mem.h32 struct vmspace;
36 struct vm_object *vmm_mmio_alloc(struct vmspace *, vm_paddr_t gpa, size_t len,
38 void vmm_mmio_free(struct vmspace *, vm_paddr_t gpa, size_t size);
H A Dvmm_mem.c59 vmm_mmio_alloc(struct vmspace *vmspace, vm_paddr_t gpa, size_t len, argument
86 error = vm_map_find(&vmspace->vm_map, obj, 0, &gpa, len, 0,
111 vmm_mmio_free(struct vmspace *vmspace, vm_paddr_t gpa, size_t len) argument
114 vm_map_remove(&vmspace->vm_map, gpa, gpa + len);
H A Dvmm.c165 struct vmspace *vmspace; /* (o) guest's address space */ member in struct:vm
183 #define VMSPACE_FREE(vmspace) \
184 (ops != NULL ? (*ops->vmspace_free)(vmspace) : ENXIO)
407 vm->cookie = VMINIT(vm, vmspace_pmap(vm->vmspace));
430 struct vmspace *vmspace; local
442 vmspace = VMSPACE_ALLOC(0, VM_MAXUSER_ADDRESS);
443 if (vmspace == NULL)
448 vm->vmspace
[all...]
/freebsd-10-stable/sys/vm/
H A Dvm_extern.h38 struct vmspace;
84 int vm_forkproc(struct thread *, struct proc *, struct thread *, struct vmspace *, int);
91 struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t, pmap_pinit_t);
92 struct vmspace *vmspace_fork(struct vmspace *, vm_ooffset_t *);
96 struct vmspace *vmspace_acquire_ref(struct proc *);
97 void vmspace_free(struct vmspace *);
H A Dvm_map.h237 struct vmspace { struct
251 * variations of the machine-independent fields in the vmspace.
258 vmspace_pmap(struct vmspace *vmspace) argument
260 return &vmspace->vm_pmap;
304 long vmspace_resident_count(struct vmspace *vmspace);
405 long vmspace_swap_count(struct vmspace *vmspace);
H A Dvm_map.c208 vmspace_zone = uma_zcreate("VMSPACE", sizeof(struct vmspace), NULL,
220 struct vmspace *vm;
222 vm = (struct vmspace *)mem;
246 struct vmspace *vm;
248 vm = (struct vmspace *)mem;
268 * Allocate a vmspace structure, including a vm_map and pmap,
273 struct vmspace *
276 struct vmspace *vm;
319 vmspace_dofree(struct vmspace *vm)
344 vmspace_free(struct vmspace *v
715 vmspace_resident_count(struct vmspace *vmspace) argument
[all...]
/freebsd-10-stable/sys/i386/ibcs2/
H A Dimgact_coff.c62 static int load_coff_section(struct vmspace *vmspace, struct vnode *vp, vm_offset_t offset, caddr_t vmaddr, size_t memsz, size_t filsz, vm_prot_t prot);
65 load_coff_section(struct vmspace *vmspace, struct vnode *vp, vm_offset_t offset, argument
94 DPRINTF(("%s(%d): vm_mmap(&vmspace->vm_map, &0x%08jx, 0x%x, 0x%x, "
99 if ((error = vm_mmap(&vmspace->vm_map,
127 DPRINTF(("%s(%d): vm_map_find(&vmspace->vm_map, NULL, 0, &0x%08jx,0x%x, VMFS_NO_SPACE, VM_PROT_ALL, VM_PROT_ALL, 0)\n", __FILE__, __LINE__, (uintmax_t)map_addr, map_len));
130 error = vm_map_find(&vmspace->vm_map, NULL, 0, &map_addr,
158 struct vmspace *vmspace local
300 struct vmspace *vmspace; local
[all...]
/freebsd-10-stable/sys/compat/svr4/
H A Dimgact_svr4.c66 struct vmspace *vmspace; local
127 vmspace = imgp->proc->p_vmspace;
142 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
161 error = vm_map_protect(&vmspace->vm_map,
177 error = vm_mmap(&vmspace->vm_map, &vmaddr,
193 error = vm_map_protect(&vmspace->vm_map,
206 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
218 vmspace->vm_tsize = round_page(a_out->a_text) >> PAGE_SHIFT;
219 vmspace
[all...]
/freebsd-10-stable/sys/i386/linux/
H A Dimgact_linux.c64 struct vmspace *vmspace; local
126 vmspace = imgp->proc->p_vmspace;
141 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
160 error = vm_map_protect(&vmspace->vm_map,
176 error = vm_mmap(&vmspace->vm_map, &vmaddr,
193 error = vm_map_protect(&vmspace->vm_map,
206 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
218 vmspace->vm_tsize = round_page(a_out->a_text) >> PAGE_SHIFT;
219 vmspace
[all...]
/freebsd-10-stable/sys/sys/
H A Dimgact.h93 struct vmspace;
106 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
107 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
H A Dipc.h128 struct vmspace;
138 extern void (*shmexit_hook)(struct vmspace *);
H A Dshm.h143 struct vmspace;
145 void shmexit(struct vmspace *);
/freebsd-10-stable/sys/kern/
H A Dimgact_gzip.c77 struct vmspace *vmspace; local
131 vmspace = imgp->proc->p_vmspace;
132 error = vm_map_protect(&vmspace->vm_map,
133 (vm_offset_t) vmspace->vm_taddr,
134 (vm_offset_t) (vmspace->vm_taddr +
135 (vmspace->vm_tsize << PAGE_SHIFT)) ,
157 struct vmspace *vmspace; local
247 vmspace
[all...]
H A Dimgact_aout.c165 struct vmspace *vmspace; local
281 vmspace = imgp->proc->p_vmspace;
284 map = &vmspace->vm_map;
326 vmspace->vm_tsize = a_out->a_text >> PAGE_SHIFT;
327 vmspace->vm_dsize = (a_out->a_data + bss_size) >> PAGE_SHIFT;
328 vmspace->vm_taddr = (caddr_t) (uintptr_t) virtual_offset;
329 vmspace->vm_daddr = (caddr_t) (uintptr_t)
H A Dkern_exec.c213 struct vmspace *oldvmspace;
238 struct vmspace *oldvmspace;
268 struct vmspace *oldvmspace;
286 pre_execve(struct thread *td, struct vmspace **oldvmspace)
307 post_execve(struct thread *td, int error, struct vmspace *oldvmspace)
1057 struct vmspace *vmspace = p->p_vmspace; local
1075 map = &vmspace->vm_map;
1080 if (vmspace->vm_refcnt == 1 && vm_map_min(map) == sv_minuser &&
1082 shmexit(vmspace);
[all...]
H A Dsysv_ipc.c52 void (*shmexit_hook)(struct vmspace *) = NULL;
67 shmexit(struct vmspace *vm)
/freebsd-10-stable/sys/arm/include/
H A Dpcpu.h39 struct vmspace;
/freebsd-10-stable/lib/libkvm/
H A Dkvm_proc.c122 struct vmspace vmspace; local
339 (char *)&vmspace, sizeof(vmspace));
340 kp->ki_size = vmspace.vm_map.size;
346 kp->ki_rssize = pmap_resident_count(&vmspace.vm_pmap);
347 kp->ki_swrss = vmspace.vm_swrss;
348 kp->ki_tsize = vmspace.vm_tsize;
349 kp->ki_dsize = vmspace.vm_dsize;
350 kp->ki_ssize = vmspace
[all...]
H A Dkvm_sparc.c168 struct vmspace *vms = p->p_vmspace;
/freebsd-10-stable/sys/ia64/ia32/
H A Dia32_signal.c139 struct vmspace *vmspace = td->td_proc->p_vmspace; local
172 vm_map_find(&vmspace->vm_map, NULL, 0, &gdt, IA32_PAGE_SIZE << 1, 0,
/freebsd-10-stable/sys/amd64/include/
H A Dvmm.h117 struct vmspace;
145 typedef struct vmspace * (*vmi_vmspace_alloc)(vm_offset_t min, vm_offset_t max);
146 typedef void (*vmi_vmspace_free)(struct vmspace *vmspace);
319 struct vmspace *vm_get_vmspace(struct vm *vm);

Completed in 234 milliseconds

123