v2p 64 kalloc.c if((uint)v % PGSIZE || v < end || v2p(v) >= PHYSTOP) v2p 91 main.c *(int**)(code-12) = (void *) v2p(entrypgdir); v2p 93 main.c lapicstartap(c->id, v2p(code)); v2p 62 vm.c *pde = v2p(pgtab) | PTE_P | PTE_W | PTE_U; v2p 160 vm.c lcr3(v2p(kpgdir)); // switch to the kernel page table v2p 175 vm.c lcr3(v2p(p->pgdir)); // switch to new address space v2p 190 vm.c mappages(pgdir, 0, PGSIZE, v2p(mem), PTE_W|PTE_U); v2p 240 vm.c mappages(pgdir, (char*)a, PGSIZE, v2p(mem), PTE_W|PTE_U); v2p 329 vm.c if(mappages(d, (void*)i, PGSIZE, v2p(mem), flags) < 0)