NUPDP_TOTAL
#define NUPD_TOTAL (NPDPEPG * NUPDP_TOTAL)
((va >> PML4SHIFT) & (NUPDP_TOTAL - 1)));
return (NUPTE_TOTAL + NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL);
#define NUPD_TOTAL (NUPDP_TOTAL*NPDPEPG) /* total PD pages */
#define PML4PML4I NUPDP_TOTAL /* Index of recursive pml4 mapping */
#define NUPML4E NUPDP_TOTAL /* for vmparam.h */
pmap->pm_pteobj = vm_object_allocate(OBJT_DEFAULT, NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL + 1);
NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL,
if (p->pindex == NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL) {
NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL);
p->pindex, NUPT_TOTAL, NUPD_TOTAL, NUPDP_TOTAL);
if (p->pindex == NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL) {
pindex &= (NUPDP_TOTAL - 1);
if (p->pindex == NUPT_TOTAL + NUPD_TOTAL + NUPDP_TOTAL) {