Symbol: vmspace
lib/libkvm/kvm_proc.c
211
struct vmspace vmspace;
lib/libkvm/kvm_proc.c
317
if (KREAD(kd, (u_long)proc.p_vmspace, &vmspace)) {
lib/libkvm/kvm_proc.c
322
proc.p_vmspace = &vmspace;
sys/cpu/x86_64/include/elf.h
170
#define ELF_RTLD_ADDR(vmspace) \
sys/cpu/x86_64/include/elf.h
171
(round_page((vm_offset_t)(vmspace)->vm_daddr + maxdsiz))
sys/dev/virtual/nvmm/nvmm.c
570
struct vmspace *vm = mach->vm;
sys/dev/virtual/nvmm/nvmm_dragonfly.c
58
struct vmspace *vm;
sys/dev/virtual/nvmm/nvmm_internal.h
91
struct vmspace *vm;
sys/dev/virtual/nvmm/nvmm_os.h
63
typedef struct vmspace os_vmspace_t;
sys/dev/virtual/nvmm/nvmm_os.h
68
typedef struct vmspace os_vmspace_t;
sys/kern/imgact_elf.c
241
__elfN(load_section)(struct proc *p, struct vmspace *vmspace, struct vnode *vp,
sys/kern/imgact_elf.c
305
vm_map_lock(&vmspace->vm_map);
sys/kern/imgact_elf.c
306
rv = vm_map_insert(&vmspace->vm_map, &count,
sys/kern/imgact_elf.c
314
vm_map_unlock(&vmspace->vm_map);
sys/kern/imgact_elf.c
347
vm_map_lock(&vmspace->vm_map);
sys/kern/imgact_elf.c
348
rv = vm_map_insert(&vmspace->vm_map, &count,
sys/kern/imgact_elf.c
356
vm_map_unlock(&vmspace->vm_map);
sys/kern/imgact_elf.c
387
vm_map_protect(&vmspace->vm_map,
sys/kern/imgact_elf.c
417
struct vmspace *vmspace = p->p_vmspace;
sys/kern/imgact_elf.c
502
p, vmspace, imgp->vp,
sys/kern/imgact_elf.c
608
struct vmspace *vmspace;
sys/kern/imgact_elf.c
716
vmspace = imgp->proc->p_vmspace;
sys/kern/imgact_elf.c
730
vmspace,
sys/kern/imgact_elf.c
809
vmspace->vm_tsize = text_size; /* in bytes */
sys/kern/imgact_elf.c
810
vmspace->vm_taddr = (caddr_t)(uintptr_t)text_addr;
sys/kern/imgact_elf.c
811
vmspace->vm_dsize = data_size; /* in bytes */
sys/kern/imgact_elf.c
812
vmspace->vm_daddr = (caddr_t)(uintptr_t)data_addr;
sys/kern/imgact_elf.c
814
addr = ELF_RTLD_ADDR(vmspace);
sys/kern/imgact_elf.c
82
struct vmspace *vmspace, struct vnode *vp,
sys/kern/init_main.c
85
static struct vmspace vmspace0;
sys/kern/kern_clock.c
1122
struct vmspace *vm;
sys/kern/kern_exec.c
1004
vmspace->vm_ssize = sgrowsiz; /* in bytes */
sys/kern/kern_exec.c
1005
vmspace->vm_maxsaddr = (char *)USRSTACK - maxssiz;
sys/kern/kern_exec.c
899
exec_new_vmspace(struct image_params *imgp, struct vmspace *vmcopy)
sys/kern/kern_exec.c
901
struct vmspace *vmspace = imgp->proc->p_vmspace;
sys/kern/kern_exec.c
955
map = &vmspace->vm_map;
sys/kern/kern_exec.c
958
vmspace = imgp->proc->p_vmspace;
sys/kern/kern_exec.c
959
pmap_remove_pages(vmspace_pmap(vmspace), stack_addr, USRSTACK);
sys/kern/kern_exec.c
960
map = &vmspace->vm_map;
sys/kern/kern_exec.c
961
} else if (vmspace_getrefs(vmspace) == 1) {
sys/kern/kern_exec.c
962
shmexit(vmspace);
sys/kern/kern_exec.c
963
pmap_remove_pages(vmspace_pmap(vmspace),
sys/kern/kern_exec.c
968
vmspace = imgp->proc->p_vmspace;
sys/kern/kern_exec.c
969
map = &vmspace->vm_map;
sys/kern/kern_exec.c
991
error = vm_map_stack(&vmspace->vm_map, &stack_addr, (vm_size_t)maxssiz,
sys/kern/kern_exit.c
299
struct vmspace *vm;
sys/kern/kern_fp.c
404
struct vmspace *vms = p->p_vmspace;
sys/kern/kern_kinfo.c
121
struct vmspace *vm;
sys/kern/kern_shutdown.c
571
struct vmspace *vm;
sys/kern/sysv_shm.c
197
shm_delete_mapping(struct vmspace *vm, struct shmmap_state *shmmap_s)
sys/kern/sysv_shm.c
666
shmexit(struct vmspace *vm)
sys/kern/sysv_shm.c
85
static int shm_delete_mapping (struct vmspace *vm, struct shmmap_state *);
sys/kern/tty.c
2508
struct vmspace *vm;
sys/platform/pc64/include/pmap.h
196
struct vmspace;
sys/platform/pc64/include/pmap.h
370
void pmap_interlock_wait (struct vmspace *);
sys/platform/pc64/x86_64/efirt.c
113
static struct vmspace *efi_savevm;
sys/platform/pc64/x86_64/efirt.c
114
static struct vmspace *efi_vmspace;
sys/platform/pc64/x86_64/genassym.c
73
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/platform/pc64/x86_64/pmap.c
6368
pmap_replacevm(struct proc *p, struct vmspace *newvm, int adjrefs)
sys/platform/pc64/x86_64/pmap.c
6370
struct vmspace *oldvm;
sys/platform/pc64/x86_64/pmap.c
6396
pmap_setlwpvm(struct lwp *lp, struct vmspace *newvm)
sys/platform/pc64/x86_64/pmap.c
6398
struct vmspace *oldvm;
sys/platform/pc64/x86_64/pmap.c
6475
pmap_add_cpu(struct vmspace *vm, int cpuid)
sys/platform/pc64/x86_64/pmap.c
6484
pmap_del_cpu(struct vmspace *vm, int cpuid)
sys/platform/pc64/x86_64/pmap.c
6490
pmap_del_all_cpus(struct vmspace *vm)
sys/platform/pc64/x86_64/pmap.c
6507
pmap_interlock_wait(struct vmspace *vm)
sys/platform/pc64/x86_64/trap.c
858
struct vmspace *vm = NULL;
sys/platform/pc64/x86_64/vm_machdep.c
1266
cpu_vmspace_alloc(struct vmspace *vm __unused)
sys/platform/pc64/x86_64/vm_machdep.c
1271
cpu_vmspace_free(struct vmspace *vm __unused)
sys/platform/vkernel64/include/pmap.h
216
void pmap_interlock_wait (struct vmspace *);
sys/platform/vkernel64/platform/copyio.c
125
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
157
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
189
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
221
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
313
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
353
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
49
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/copyio.c
87
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/platform/pmap.c
1665
cpu_vmspace_alloc(struct vmspace *vm)
sys/platform/vkernel64/platform/pmap.c
1693
cpu_vmspace_free(struct vmspace *vm)
sys/platform/vkernel64/platform/pmap.c
3216
pmap_replacevm(struct proc *p, struct vmspace *newvm, int adjrefs)
sys/platform/vkernel64/platform/pmap.c
3218
struct vmspace *oldvm;
sys/platform/vkernel64/platform/pmap.c
3241
pmap_setlwpvm(struct lwp *lp, struct vmspace *newvm)
sys/platform/vkernel64/platform/pmap.c
3243
struct vmspace *oldvm;
sys/platform/vkernel64/platform/pmap.c
3273
pmap_interlock_wait (struct vmspace *vm)
sys/platform/vkernel64/platform/pmap.c
368
struct vmspace *vm = curproc->p_vmspace;
sys/platform/vkernel64/x86_64/genassym.c
72
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
sys/platform/vkernel64/x86_64/trap.c
781
struct vmspace *vm = NULL;
sys/sys/imgact.h
72
struct vmspace;
sys/sys/imgact.h
76
int exec_new_vmspace (struct image_params *, struct vmspace *vmres);
sys/sys/kern_syscall.h
190
int kern_mmap(struct vmspace *, caddr_t addr, size_t len,
sys/sys/kern_syscall.h
59
struct vmspace;
sys/sys/proc.h
165
struct vmspace *lwp_vmspace; /* Inherited from p_vmspace */
sys/sys/proc.h
258
struct vmspace *p_vmspace; /* Current address space. */
sys/sys/shm.h
107
struct vmspace;
sys/sys/shm.h
109
void shmexit(struct vmspace *);
sys/sys/systm.h
150
struct vmspace;
sys/sys/systm.h
181
void cpu_vmspace_alloc(struct vmspace *);
sys/sys/systm.h
182
void cpu_vmspace_free(struct vmspace *);
sys/sys/vkernel.h
95
struct vmspace *vmspace;
sys/vfs/procfs/procfs_mem.c
73
struct vmspace *vm;
sys/vm/pmap.h
231
void pmap_replacevm (struct proc *, struct vmspace *, int);
sys/vm/pmap.h
232
void pmap_setlwpvm (struct lwp *, struct vmspace *);
sys/vm/pmap.h
236
void pmap_add_cpu(struct vmspace *vm, int cpuid);
sys/vm/pmap.h
237
void pmap_del_cpu(struct vmspace *vm, int cpuid);
sys/vm/pmap.h
238
void pmap_del_all_cpus(struct vmspace *vm);
sys/vm/pmap.h
93
struct vmspace;
sys/vm/vm_extern.h
102
struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t);
sys/vm/vm_extern.h
103
void vmspace_initrefs(struct vmspace *);
sys/vm/vm_extern.h
104
int vmspace_getrefs(struct vmspace *);
sys/vm/vm_extern.h
105
void vmspace_hold(struct vmspace *);
sys/vm/vm_extern.h
106
void vmspace_drop(struct vmspace *);
sys/vm/vm_extern.h
107
void vmspace_ref(struct vmspace *);
sys/vm/vm_extern.h
108
void vmspace_rel(struct vmspace *);
sys/vm/vm_extern.h
109
void vmspace_relexit(struct vmspace *);
sys/vm/vm_extern.h
115
struct vmspace *vmspace_fork(struct vmspace *origvm,
sys/vm/vm_extern.h
117
void vmspace_exec(struct proc *, struct vmspace *);
sys/vm/vm_extern.h
51
struct vmspace;
sys/vm/vm_map.c
117
static void vmspace_terminate(struct vmspace *vm, int final);
sys/vm/vm_map.c
172
static void vmspace_drop_notoken(struct vmspace *vm);
sys/vm/vm_map.c
234
sizeof(struct vmspace),
sys/vm/vm_map.c
251
struct vmspace *vm = obj;
sys/vm/vm_map.c
263
struct vmspace *vm = obj;
sys/vm/vm_map.c
293
vmspace_initrefs(struct vmspace *vm)
sys/vm/vm_map.c
309
struct vmspace *
sys/vm/vm_map.c
312
struct vmspace *vm;
sys/vm/vm_map.c
346
vmspace_getrefs(struct vmspace *vm)
sys/vm/vm_map.c
358
vmspace_hold(struct vmspace *vm)
sys/vm/vm_map.c
368
vmspace_drop(struct vmspace *vm)
sys/vm/vm_map.c
3696
struct vmspace *
sys/vm/vm_map.c
3697
vmspace_fork(struct vmspace *vm1, struct proc *p2, struct lwp *lp2)
sys/vm/vm_map.c
3699
struct vmspace *vm2;
sys/vm/vm_map.c
375
vmspace_drop_notoken(struct vmspace *vm)
sys/vm/vm_map.c
394
vmspace_ref(struct vmspace *vm)
sys/vm/vm_map.c
409
vmspace_rel(struct vmspace *vm)
sys/vm/vm_map.c
4106
struct vmspace *vm;
sys/vm/vm_map.c
4298
vmspace_exec(struct proc *p, struct vmspace *vmcopy)
sys/vm/vm_map.c
4300
struct vmspace *oldvmspace = p->p_vmspace;
sys/vm/vm_map.c
4301
struct vmspace *newvmspace;
sys/vm/vm_map.c
4340
struct vmspace *oldvmspace = p->p_vmspace;
sys/vm/vm_map.c
4341
struct vmspace *newvmspace;
sys/vm/vm_map.c
4366
struct vmspace *vms = p->p_vmspace;
sys/vm/vm_map.c
444
vmspace_relexit(struct vmspace *vm)
sys/vm/vm_map.c
459
struct vmspace *vm;
sys/vm/vm_map.c
480
vmspace_terminate(struct vmspace *vm, int final)
sys/vm/vm_map.c
556
vmspace_swap_count(struct vmspace *vm)
sys/vm/vm_map.c
595
vmspace_anonymous_count(struct vmspace *vm)
sys/vm/vm_map.h
417
struct vmspace *vr_vmspace; /* vmspace to fork */
sys/vm/vm_map.h
541
vmspace_pmap(struct vmspace *vmspace)
sys/vm/vm_map.h
543
return &vmspace->vm_pmap;
sys/vm/vm_map.h
550
vmspace_resident_count(struct vmspace *vmspace)
sys/vm/vm_map.h
552
return pmap_resident_count(vmspace_pmap(vmspace));
sys/vm/vm_map.h
640
vm_offset_t vmspace_swap_count (struct vmspace *vmspace);
sys/vm/vm_map.h
641
vm_offset_t vmspace_anonymous_count (struct vmspace *vmspace);
sys/vm/vm_mmap.c
127
kern_mmap(struct vmspace *vms, caddr_t uaddr, size_t ulen,
sys/vm/vm_pageout.c
2852
struct vmspace *vm;
sys/vm/vm_unix.c
178
struct vmspace *vm = p->p_vmspace;
sys/vm/vm_unix.c
70
struct vmspace *vm = p->p_vmspace;
sys/vm/vm_vmspace.c
107
KKASSERT(ve->vmspace);
sys/vm/vm_vmspace.c
183
ve->vmspace = vmspace_alloc(VM_MIN_USER_ADDRESS, VM_MAX_USER_ADDRESS);
sys/vm/vm_vmspace.c
187
pmap_pinit2(vmspace_pmap(ve->vmspace));
sys/vm/vm_vmspace.c
191
vmspace_rel(ve->vmspace);
sys/vm/vm_vmspace.c
192
ve->vmspace = NULL; /* safety */
sys/vm/vm_vmspace.c
310
pmap_setlwpvm(lp, ve->vmspace);
sys/vm/vm_vmspace.c
353
error = kern_mmap(ve->vmspace, uap->addr, uap->len,
sys/vm/vm_vmspace.c
428
map = &ve->vmspace->vm_map;
sys/vm/vm_vmspace.c
561
error = vm_map_madvise(&ve->vmspace->vm_map, start, end,
sys/vm/vm_vmspace.c
651
pmap_remove_pages(vmspace_pmap(ve->vmspace),
sys/vm/vm_vmspace.c
653
vm_map_remove(&ve->vmspace->vm_map,
sys/vm/vm_vmspace.c
655
vmspace_rel(ve->vmspace);
sys/vm/vm_vmspace.c
656
ve->vmspace = NULL; /* safety */
sys/vm/vm_vmspace.c
726
KKASSERT(ve->vmspace);
test/debug/psinfo.c
167
struct vmspace vms;
usr.bin/fstat/fstat.c
397
struct vmspace vmspace;
usr.bin/fstat/fstat.c
406
if (!kread(p->p_vmspace, &vmspace, sizeof(vmspace))) {
usr.bin/fstat/fstat.c
412
map = &vmspace.vm_map;