Searched refs:vmspace0 (Results 1 – 5 of 5) sorted by relevance
108 struct vmspace vmspace0; variable614 p->p_vmspace = &vmspace0; in proc0_init()615 refcount_init(&vmspace0.vm_refcnt, 1); in proc0_init()616 pmap_pinit0(vmspace_pmap(&vmspace0)); in proc0_init()622 vm_map_init(&vmspace0.vm_map, vmspace_pmap(&vmspace0), in proc0_init()
1253 if (p->p_vmspace == &vmspace0) { in linprocfs_doproccmdline()1285 if (p->p_vmspace == &vmspace0) in linprocfs_doprocenviron()2017 if (p->p_vmspace == &vmspace0) in linprocfs_doauxv()
242 pmap0 = vmspace_pmap(&vmspace0); in init_secondary()
404 KASSERT(vm == &vmspace0, ("vmspace_exitfree: wrong vmspace")); in vmspace_exitfree() 422 * kernel's vmspace0 before the decrement so that the subsequent pmap in vmspace_exit() 425 refcount_acquire(&vmspace0.vm_refcnt); in vmspace_exit() 427 if (p->p_vmspace != &vmspace0) { in vmspace_exit() 429 p->p_vmspace = &vmspace0; in vmspace_exit() 448 p->p_vmspace = &vmspace0; in vmspace_exit()
1082 extern struct vmspace vmspace0; /* VM space for proc0. */