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

123

/freebsd-11-stable/sys/amd64/vmm/amd/
H A Dnpt.h35 struct vmspace *svm_npt_alloc(vm_offset_t min, vm_offset_t max);
36 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-11-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.c181 struct vmspace *
189 ept_vmspace_free(struct vmspace *vmspace) argument
192 vmspace_free(vmspace);
/freebsd-11-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.c163 struct vmspace *vmspace; /* (o) guest's address space */ member in struct:vm
186 #define VMSPACE_FREE(vmspace) \
187 (ops != NULL ? (*ops->vmspace_free)(vmspace) : ENXIO)
412 vm->cookie = VMINIT(vm, vmspace_pmap(vm->vmspace));
441 struct vmspace *vmspace; local
453 vmspace = VMSPACE_ALLOC(0, VM_MAXUSER_ADDRESS);
454 if (vmspace == NULL)
459 vm->vmspace
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_extern.h38 struct vmspace;
87 struct vmspace *, int);
101 struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t, pmap_pinit_t);
102 struct vmspace *vmspace_fork(struct vmspace *, vm_ooffset_t *);
106 struct vmspace *vmspace_acquire_ref(struct proc *);
107 void vmspace_free(struct vmspace *);
109 void vmspace_switch_aio(struct vmspace *);
H A Dvm_map.h254 struct vmspace { struct
268 * variations of the machine-independent fields in the vmspace.
275 vmspace_pmap(struct vmspace *vmspace) argument
277 return &vmspace->vm_pmap;
324 long vmspace_resident_count(struct vmspace *vmspace);
423 long vmspace_swap_count(struct vmspace *vmspace);
H A Dvm_map.c210 vmspace_zone = uma_zcreate("VMSPACE", sizeof(struct vmspace), NULL,
222 struct vmspace *vm;
224 vm = (struct vmspace *)mem;
248 struct vmspace *vm;
250 vm = (struct vmspace *)mem;
270 * Allocate a vmspace structure, including a vm_map and pmap,
275 struct vmspace *
278 struct vmspace *vm;
316 vmspace_dofree(struct vmspace *vm)
341 vmspace_free(struct vmspace *v
753 vmspace_resident_count(struct vmspace *vmspace) argument
[all...]
/freebsd-11-stable/sys/sys/
H A Dimgact.h94 struct vmspace;
100 void exec_cleanup(struct thread *td, struct vmspace *);
110 int pre_execve(struct thread *td, struct vmspace **oldvmspace);
111 void post_execve(struct thread *td, int error, struct vmspace *oldvmspace);
H A Dipc.h130 struct vmspace;
140 extern void (*shmexit_hook)(struct vmspace *);
H A Dshm.h148 struct vmspace;
152 void shmexit(struct vmspace *);
H A Dumtx.h164 struct vmspace *vs;
/freebsd-11-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-11-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-11-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, vmaddr,
172 error = vm_mmap(&vmspace->vm_map, &vmaddr,
187 error = vm_map_protect(&vmspace->vm_map, vmaddr + a_out->a_text,
197 error = vm_map_find(&vmspace->vm_map, NULL, 0, &vmaddr,
208 vmspace->vm_tsize = round_page(a_out->a_text) >> PAGE_SHIFT;
209 vmspace
[all...]
/freebsd-11-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.c159 struct vmspace *vmspace; local
275 vmspace = imgp->proc->p_vmspace;
278 map = &vmspace->vm_map;
320 vmspace->vm_tsize = a_out->a_text >> PAGE_SHIFT;
321 vmspace->vm_dsize = (a_out->a_data + bss_size) >> PAGE_SHIFT;
322 vmspace->vm_taddr = (caddr_t) (uintptr_t) virtual_offset;
323 vmspace->vm_daddr = (caddr_t) (uintptr_t)
H A Dkern_exec.c120 struct mac *mac_p, struct vmspace *oldvmspace);
214 struct vmspace *oldvmspace;
239 struct vmspace *oldvmspace;
269 struct vmspace *oldvmspace;
287 pre_execve(struct thread *td, struct vmspace **oldvmspace)
308 post_execve(struct thread *td, int error, struct vmspace *oldvmspace)
338 struct vmspace *oldvmspace)
354 struct vmspace *oldvmspace)
980 exec_cleanup(struct thread *td, struct vmspace *oldvmspace)
1087 struct vmspace *vmspac local
[all...]
H A Dsysv_ipc.c52 void (*shmexit_hook)(struct vmspace *) = NULL;
67 shmexit(struct vmspace *vm)
/freebsd-11-stable/sys/arm/include/
H A Dpcpu.h40 struct vmspace;
/freebsd-11-stable/lib/libkvm/
H A Dkvm_proc.c124 struct vmspace vmspace; local
341 (char *)&vmspace, sizeof(vmspace));
342 kp->ki_size = vmspace.vm_map.size;
348 kp->ki_rssize = pmap_resident_count(&vmspace.vm_pmap);
349 kp->ki_swrss = vmspace.vm_swrss;
350 kp->ki_tsize = vmspace.vm_tsize;
351 kp->ki_dsize = vmspace.vm_dsize;
352 kp->ki_ssize = vmspace
[all...]
/freebsd-11-stable/sys/amd64/include/
H A Dvmm.h127 struct vmspace;
155 typedef struct vmspace * (*vmi_vmspace_alloc)(vm_offset_t min, vm_offset_t max);
156 typedef void (*vmi_vmspace_free)(struct vmspace *vmspace);
335 struct vmspace *vm_get_vmspace(struct vm *vm);
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_mmap.c81 struct vmspace *vms = td->td_proc->p_vmspace;

Completed in 238 milliseconds

123