pt_entry_t *ptes, pte; pd_entry_t pde;
paddr_t retval; pt_entry_t *ptes;
pmap_extract(pmap, va, pap)	struct pmap *pmap;	vaddr_t va;	paddr_t *pap;{	pt_entry_t *ptes, pte;	pd_entry_t pde;	if (__predict_true((pde = pmap->pm_pdir[pdei(va)]) != 0)) {#ifdef LARGEPAGES		if (pde & PG_PS) {			if (pap != NULL)				*pap = (pde & PG_LGFRAME) | (va & ~PG_LGFRAME);			return (TRUE);		}#endif		ptes = pmap_map_ptes(pmap);		pte = ptes[i386_btop(va)];		pmap_unmap_ptes(pmap);		if (__predict_true((pte & PG_V) != 0)) {			if (pap != NULL)				*pap = (pte & PG_FRAME) | (va & ~PG_FRAME);			return (TRUE);		}	}	return (FALSE);}