Searched refs:NBPDR (Results 1 - 15 of 15) sorted by relevance

/freebsd-current/sys/i386/include/
H A Dparam.h96 #define PDRMASK (NBPDR - 1)
100 #ifndef NBPDR
101 #define NBPDR (1 << PDRSHIFT) /* bytes/page dir */ macro
H A Dpmap_pae.h61 #undef NBPDR macro
62 #define NBPDR (1 << PDRSHIFT_PAE) /* bytes/page dir */ macro
80 * max_phys / PAGE_SIZE * sizeof(struct vm_page) / NBPDR
81 * PAE: max_phys 16G, sizeof(vm_page) 76, NBPDR 2M, 152 page table pages.
82 * PAE_TABLES: max_phys 4G, sizeof(vm_page) 68, NBPDR 2M, 36 page table pages.
83 * Non-PAE: max_phys 4G, sizeof(vm_page) 68, NBPDR 4M, 18 page table pages.
H A Dpmap_nopae.h60 #undef NBPDR macro
61 #define NBPDR (1 << PDRSHIFT_NOPAE) /* bytes/page dir */ macro
/freebsd-current/sys/arm/include/
H A Dparam.h106 #define PDR_SHIFT 20 /* log2(NBPDR) */
107 #define NBPDR (1 << PDR_SHIFT) macro
108 #define PDRMASK (NBPDR - 1)
/freebsd-current/sys/amd64/include/
H A Dparam.h101 #define PDRSHIFT 21 /* LOG2(NBPDR) */
102 #define NBPDR (1<<PDRSHIFT) /* bytes/page dir */ macro
103 #define PDRMASK (NBPDR-1)
H A Dvmparam.h217 #define KERNSTART (KERNBASE + NBPDR)
/freebsd-current/lib/libkvm/
H A Dkvm_i386.h69 _Static_assert(NBPDR == I386_NBPDR, "NBPDR mismatch");
H A Dkvm_amd64.h70 _Static_assert(NBPDR == AMD64_NBPDR, "NBPDR mismatch");
/freebsd-current/sys/i386/i386/
H A Dpmap.c409 _Static_assert(LOWPTDI * 2 * NBPDR == KERNBASE,
439 physfree = roundup2(physfree, NBPDR);
498 pmap_cold_mapident(0, atop(NBPDR) * LOWPTDI);
499 pmap_cold_map(0, NBPDR * LOWPTDI, atop(NBPDR) * LOWPTDI);
536 for (a = KERNBASE; a < KERNend; a += NBPDR)
574 kernel_vm_end = /* 0 + */ NKPT * NBPDR;
1028 pagesizes[1] = NBPDR;
1036 PAGE_SIZE) / NBPDR + 1;
1476 * the address range [va, va + NBPDR)
[all...]
H A Dminidump_machdep_base.c178 for (va = KERNBASE; va < kva_end; va += NBPDR) {
282 for (va = KERNBASE; va < kva_end; va += NBPDR) {
/freebsd-current/sys/amd64/amd64/
H A Dminidump_machdep.c179 kva_end = MAX(KERNBASE + nkpt * NBPDR, kernel_vm_end);
220 for (n = 0; n < NPDEPG; n++, va += NBPDR) {
349 fakepd[j] = fakepd[j - 1] + NBPDR;
H A Dpmap.c1595 pt_pages = howmany(addr - kernphys, NBPDR) + 1; /* +1 for 2M hole @0 */
1778 for (i = 1, pax = kernphys; pax < KERNend; i++, pax += NBPDR) {
1851 i < NPDEPG * nkdmpde; i++, pax += NBPDR) {
2371 pv_npg = howmany(pmap_last_pa, NBPDR);
2384 end = vm_phys_segs[i].end / NBPDR;
2436 pv_npg = howmany(vm_phys_segs[vm_phys_nsegs - 1].end, NBPDR);
2545 pagesizes[1] = NBPDR;
3646 * va + NBPDR). Therefore, the entire range must be invalidated here.
3648 * 4KB page mappings for the address range [va, va + NBPDR), and so a
3653 pmap_invalidate_range(pmap, va, va + NBPDR
[all...]
/freebsd-current/sys/amd64/acpica/
H A Dacpi_wakeup.c444 pt2_0[i] = (pd_entry_t)i * NBPDR;
448 pt2_1[i] = (pd_entry_t)NBPDP + i * NBPDR;
452 pt2_2[i] = (pd_entry_t)2 * NBPDP + i * NBPDR;
456 pt2_3[i] = (pd_entry_t)3 * NBPDP + i * NBPDR;
/freebsd-current/stand/kboot/kboot/arch/amd64/
H A Delf64_freebsd.c320 ((pd_entry_t)i - 1) * NBPDR) |
376 * NBPDR == staging + 2MB which is where the kernel starts. Our
387 ((pd_entry_t)i) * NBPDR) |
/freebsd-current/stand/efi/loader/arch/amd64/
H A Delf64_freebsd.c208 ((pd_entry_t)i - 1) * NBPDR) |

Completed in 153 milliseconds