vmspace
struct vmspace *p_vmspace;
struct vmspace *vm = NULL;
void *buf, size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp,
struct vmspace *vm;
struct vmspace *vm;
bus_dmamap_t, void *, bus_size_t, struct vmspace *, int,
struct vmspace *vm;
struct vmspace *vm;
size_t buflen, struct vmspace *vm, int flags, int * const segp,
struct vmspace *vm;
struct vmspace *vm;
register struct vmspace *vm;
bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp,
struct vmspace *vm;
void *, bus_size_t, struct vmspace *, int, paddr_t *,
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
struct vmspace *vm;
jazz_dmatlb_map_va(struct vmspace *vm, vaddr_t va, vsize_t size,
void jazz_dmatlb_map_va(struct vmspace *vm, vaddr_t va, vsize_t size,
bus_size_t, struct vmspace *, int);
bus_size_t buflen, struct vmspace *vm, int flags)
struct vmspace *vm;
struct vmspace * const vm = vmspace_kernel();
struct vmspace *vm;
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
struct vmspace *vm;
void *, bus_size_t, struct vmspace *, int, paddr_t *,
bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp,
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
void *, bus_size_t, struct vmspace *, int, vaddr_t *,
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
struct vmspace *, int, vaddr_t *, int *, int);
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
struct vmspace *, int, vaddr_t *, int *, int);
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp,
bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp,
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
register struct vmspace *vm;
void *buf, bus_size_t buflen, struct vmspace *vm, int flags,
struct vmspace *vm;
struct vmspace *vm = p->p_vmspace;
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
void *buf, bus_size_t buflen, struct vmspace *vm, int flags,
struct vmspace *vm;
struct vmspace * const vm = vmspace_kernel();
struct vmspace *vm;
struct vmspace *vm = vmspace_kernel();
struct vmspace *const vm = vmspace_kernel();
struct vmspace * const vm = p->p_vmspace;
_bus_dmamap_load_buffer(bus_dma_tag_t t, bus_dmamap_t map, void *buf, bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
void *, bus_size_t, struct vmspace *, int, paddr_t *,
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
struct vmspace *, int, vaddr_t *, int *, int);
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
struct vmspace *, int, vaddr_t *, int *, int);
struct vmspace *vm, int flags, vaddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
void *, bus_size_t, struct vmspace *, int, vaddr_t *,
_bus_dmamap_load_buffer(bus_dma_tag_t t, bus_dmamap_t map, void *buf, bus_size_t buflen, struct vmspace *vm, int flags, paddr_t *lastaddrp, int *segp, int first)
struct vmspace *vm;
bus_size_t, struct vmspace *, int, paddr_t *, int *, int);
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */
bus_size_t, struct vmspace *, int);
bus_size_t buflen, struct vmspace *vm, int flags)
struct vmspace *vm;
struct vmspace * const vm = vmspace_kernel();
struct vmspace *vm;
struct vmspace *vm = l->l_proc->p_vmspace;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
bus_size_t buflen, struct vmspace *vm, int flags, vaddr_t *lastaddrp,
bus_size_t, struct vmspace *, int, vaddr_t *, int *, bool);
struct vmspace *vm;
struct vmspace *vm;
bus_size_t buflen, struct vmspace *vm, int flags)
void *buf, bus_size_t buflen, struct vmspace *vm, int flags);
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm = p->p_vmspace;
struct vmspace *dus_vmspace;
struct vmspace *vm = mach->vm;
struct vmspace *vmspace = curproc->p_vmspace;
uvm_unmap(&vmspace->vm_map, hmapping->hva,
struct vmspace *vmspace = curproc->p_vmspace;
error = uvm_map(&vmspace->vm_map, &uva, hmapping->size, hmapping->uobj,
struct vmspace;
struct vmspace *vm;
struct vmspace *vm = p->p_vmspace;
struct vmspace *vm;
struct vmspace *vm;
pax_aslr_init_vm(struct lwp *l, struct vmspace *vm, struct exec_package *ep)
proc_vmspace_getref(struct proc *p, struct vmspace **vm)
struct vmspace vmspace0;
struct vmspace *vmspace;
vmspace = p->p_vmspace;
uvmspace_addref(vmspace);
error = copyin_vmspace(vmspace,
error = uvm_io(&vmspace->vm_map, &auio, 0);
uvmspace_free(vmspace);
struct vmspace *vm = p->p_vmspace;
struct vmspace *vm;
struct vmspace *vm = p->p_vmspace;
struct vmspace *vm = uio->uio_vmspace;
struct vmspace *vm = uio->uio_vmspace;
copyin_vmspace(struct vmspace *vm, const void *uaddr, void *kaddr, size_t len)
copyout_vmspace(struct vmspace *vm, const void *kaddr, void *uaddr, size_t len)
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
physmap_create_linear(physmap_t **map_p, const struct vmspace *vs, vaddr_t va,
physmap_create_iov(physmap_t **map_p, const struct vmspace *vs,
struct vmspace *vmspace;
if ((uintptr_t)fka->fk_private.vmspace <
(uintptr_t)fkb->fk_private.vmspace)
if ((uintptr_t)fka->fk_private.vmspace >
(uintptr_t)fkb->fk_private.vmspace)
futex_key_init(union futex_key *fk, struct vmspace *vm, vaddr_t va, bool shared)
fk->fk_private.vmspace = vm;
struct vmspace *vm = curproc->p_vmspace;
struct vmspace *vm = curproc->p_vmspace;
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
shmfork(struct vmspace *vm1, struct vmspace *vm2)
shmexit(struct vmspace *vm)
struct vmspace *vs;
genfs_do_directio(struct vmspace *vs, vaddr_t uva, size_t len, struct vnode *vp,
static int genfs_do_directio(struct vmspace *, vaddr_t, size_t, struct vnode *,
struct vmspace *vm;
struct vmspace *vm;
struct vmspace *vm;
void *buf, bus_size_t buflen, struct vmspace *vm, int flags,
struct vmspace *vm;
bus_size_t, struct vmspace *, int, paddr_t *, int *, int);
extern struct vmspace *rump_vmspace_local;
struct vmspace spctl_vm;
int rump_lwproc_rfork_vmspace(struct vmspace *, int);
struct vmspace *vm;
lwproc_newproc(struct proc *parent, struct vmspace *vm, int flags)
rump_lwproc_rfork_vmspace(struct vmspace *vm, int flags)
uvmspace_addref(struct vmspace *vm)
uvmspace_free(struct vmspace *vm)
struct vmspace *rump_vmspace_local;
uvmspace_init(struct vmspace *vm, struct pmap *pmap, vaddr_t vmin, vaddr_t vmax,
uvm_vslock(struct vmspace *vs, void *addr, size_t len, vm_prot_t access)
uvm_vsunlock(struct vmspace *vs, void *addr, size_t len)
uvm_resident_count(struct vmspace *vm)
void pax_aslr_init_vm(struct lwp *, struct vmspace *, struct exec_package *);
pax_aslr_init_vm(struct lwp *l, struct vmspace *vm, struct exec_package *epp)
struct vmspace;
int physmap_create_iov(physmap_t **, const struct vmspace *,
int physmap_create_linear(physmap_t **, const struct vmspace *,
struct vmspace;
struct vmspace *p_vmspace; /* :: Address space */
int proc_vmspace_getref(struct proc *, struct vmspace **);
struct vmspace;
void shmfork(struct vmspace *, struct vmspace *);
void shmexit(struct vmspace *);
extern void (*uvm_shmexit)(struct vmspace *);
extern void (*uvm_shmfork)(struct vmspace *, struct vmspace *);
struct vmspace e_vm; /* address space */
int copyin_vmspace(struct vmspace *, const void *, void *, size_t);
int copyout_vmspace(struct vmspace *, const void *, void *, size_t);
struct vmspace;
struct vmspace;
struct vmspace *uio_vmspace;
struct vmspace *vm = p->p_vmspace;
struct vmspace;
int uvm_vslock(struct vmspace *, void *, size_t, vm_prot_t);
void uvm_vsunlock(struct vmspace *, void *, size_t);
long uvm_resident_count(struct vmspace *);
struct vmspace *uvmspace_alloc(vaddr_t, vaddr_t, bool);
void uvmspace_init(struct vmspace *, struct pmap *,
struct vmspace *uvmspace_fork(struct vmspace *);
void uvmspace_addref(struct vmspace *);
void uvmspace_free(struct vmspace *);
struct vmspace *vm;
uvm_vslock(struct vmspace *vs, void *addr, size_t len, vm_prot_t access_type)
uvm_vsunlock(struct vmspace *vs, void *addr, size_t len)
uvm_resident_count(struct vmspace *vm)
struct vmspace *ovm;
void (*uvm_shmexit)(struct vmspace *) = NULL;
void (*uvm_shmfork)(struct vmspace *, struct vmspace *) = NULL;
struct vmspace *
struct vmspace *vm;
uvmspace_init(struct vmspace *vm, struct pmap *pmap, vaddr_t vmin,
struct vmspace *nvm, *ovm = p->p_vmspace;
struct vmspace *nvm, *ovm = p->p_vmspace;
uvmspace_addref(struct vmspace *vm)
uvmspace_free(struct vmspace *vm)
struct vmspace *
uvmspace_fork(struct vmspace *vm1)
struct vmspace *vm2;
struct vmspace *vm;
struct vmspace *vm = p->p_vmspace;
struct vmspace *vm = p->p_vmspace;
struct kbit kbit, *vmspace;
vmspace = &kbit;
memset(vmspace, 0, sizeof(*vmspace));
(*dump_vm_map)(kd, NULL, vmspace, at, "vm_map");
(*dump_vm_map_entry)(kd, NULL, vmspace, at, 0);
(*process_map)(kd, kproc, vmspace, NULL);
if (S(vmspace) != 0 && (debug & PRINT_VMSPACE)) {
printf("proc->p_vmspace %p = {", P(vmspace));
printf(" vm_refcnt = %d,", D(vmspace, vmspace)->vm_refcnt);
printf(" vm_shm = %p,\n", D(vmspace, vmspace)->vm_shm);
printf(" vm_rssize = %d,", D(vmspace, vmspace)->vm_rssize);
printf(" vm_rssmax = %d,", D(vmspace, vmspace)->vm_rssmax);
printf(" vm_tsize = %d,", D(vmspace, vmspace)->vm_tsize);
printf(" vm_dsize = %d,\n", D(vmspace, vmspace)->vm_dsize);
printf(" vm_ssize = %d,", D(vmspace, vmspace)->vm_ssize);
printf(" vm_taddr = %p,", D(vmspace, vmspace)->vm_taddr);
printf(" vm_daddr = %p,\n", D(vmspace, vmspace)->vm_daddr);
D(vmspace, vmspace)->vm_maxsaddr);
D(vmspace, vmspace)->vm_minsaddr);
D(vmspace, vmspace)->vm_aslr_delta_mmap);
dump_vm_map_entry(kd, proc, vmspace, header, 1);
total = dump_vm_map_tree(kd, proc, vmspace,
total = dump_vm_map_list(kd, proc, vmspace,
struct kbit *vmspace, struct kbit *vm_map_entry,
total += dump_vm_map_entry(kd, proc, vmspace, vm_map_entry, 0);
total += dump_vm_map_node(kd, lvl+1, proc, vmspace, vm_map_entry, left);
total += dump_vm_map_node(kd, lvl+1, proc, vmspace, vm_map_entry, right);
struct kbit *vmspace, struct kbit *vm_map, struct kbit *vm_map_entry)
return dump_vm_map_node(kd, 0, proc, vmspace, vm_map_entry, root);
struct kbit *vmspace, struct kbit *header, struct kbit *vm_map_entry)
total += dump_vm_map_entry(kd, proc, vmspace, vm_map_entry, 0);
dump_vm_map_entry(kvm_t *kd, struct kinfo_proc2 *proc, struct kbit *vmspace,
name = findname(kd, vmspace, vm_map_entry, vp, vfs, uvm_obj);
struct kbit *vmspace, const char *thing)
dump_vm_map(kd, proc, vmspace, submap, "submap");
A(vmspace) = (u_long)proc->p_vmspace;
S(vmspace) = sizeof(struct vmspace);
} else if (S(vmspace) == (size_t)-1) {
S(vmspace) = sizeof(struct vmspace);
A(vmspace) = 0;
S(vmspace) = 0;
findname(kvm_t *kd, struct kbit *vmspace,
if (S(vmspace) != 0) {
KDEREF(kd, vmspace);
A(vm_map) = A(vmspace) + offsetof(struct vmspace, vm_map);
else if ((char *)D(vmspace, vmspace)->vm_maxsaddr <=
((char *)D(vmspace, vmspace)->vm_maxsaddr + (size_t)maxssiz) >=
memcpy(D(vm_map, vm_map), &D(vmspace, vmspace)->vm_map,
vme->start >= (u_long)D(vmspace, vmspace)->vm_daddr) {
memset(vmspace, 0, sizeof(*vmspace));
dump_vm_map(kd, proc, vmspace, vm_map, thing);
struct kbit *vmspace, struct kbit *vm_map, const char *mname)
struct vmspace vmspace;