HomeSort by: relevance | last modified time | path
    Searched refs:NBPD_L2 (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/arch/i386/include/
vmparam.h 103 #define L2_SLOT_PTE (KERNBASE/NBPD_L2-4) /* 1532: for recursive PDP map */
104 #define L2_SLOT_KERN (KERNBASE/NBPD_L2) /* 1536: start of kernel space */
106 #define L2_SLOT_PTE (KERNBASE/NBPD_L2-1) /* 767: for recursive PDP map */
107 #define L2_SLOT_KERN (KERNBASE/NBPD_L2) /* 768: start of kernel space */
123 #define NKL2_MAX_ENTRIES (NTOPLEVEL_PDES - (KERNBASE/NBPD_L2) - 1)
param.h 158 ((((unsigned long)(x)) + (NBPD_L2 - 1)) & ~(NBPD_L2 - 1))
159 #define x86_trunc_pdr(x) ((unsigned long)(x) & ~(NBPD_L2 - 1))
pte.h 115 #define NBPD_L2 (1ULL << L2_SHIFT) /* # bytes mapped by L2 ent (2MB) */
142 #define NBPD_L2 (1UL << L2_SHIFT) /* # bytes mapped by L2 ent (4MB) */
pmap_private.h 214 #define PTE_BASE ((pt_entry_t *) (PDIR_SLOT_PTE * NBPD_L2))
231 #define NBPD_INITIALIZER { NBPD_L1, NBPD_L2 }
  /src/sys/arch/amd64/stand/prekern/
pdir.h 44 #define L3_BASE ((pd_entry_t *)((char *)L2_BASE + L4_SLOT_PTE * NBPD_L2))
56 #define NBPD_L2 (1UL << L2_SHIFT) /* # bytes mapped by L2 ent (2MB) */
mm.c 59 static const vaddr_t tmpva = (PREKERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2);
194 nL2e = mm_nentries_range(startva, endva, NBPD_L2);
372 pagesz = NBPD_L2;
414 size = (NKL2_KIMG_ENTRIES + 1) * NBPD_L2;
450 bootspace.spareva = bootspace.boot.va + NKL2_KIMG_ENTRIES * NBPD_L2;
453 bootspace.emodule = bootspace.boot.va + NKL2_KIMG_ENTRIES * NBPD_L2;
  /src/sys/arch/amd64/include/
param.h 141 ((((unsigned long)(x)) + (NBPD_L2 - 1)) & ~(NBPD_L2 - 1))
142 #define x86_trunc_pdr(x) ((unsigned long)(x) & ~(NBPD_L2 - 1))
pte.h 92 #define NBPD_L2 (1UL << L2_SHIFT) /* # bytes mapped by L2 ent (2MB) */
asan.h 150 ret = uvm_pglistalloc(NBPD_L2, 0, ~0UL, NBPD_L2, 0,
183 __builtin_memset((void *)va, 0, NBPD_L2);
msan.h 123 ret = uvm_pglistalloc(NBPD_L2, 0, ~0UL, NBPD_L2, 0,
153 __builtin_memset((void *)va, 0, NBPD_L2);
pmap_private.h 129 #define L3_BASE ((pd_entry_t *)((char *)L2_BASE + L4_SLOT_PTE * NBPD_L2))
167 #define NBPD_INITIALIZER { NBPD_L1, NBPD_L2, NBPD_L3, NBPD_L4 }
  /src/sys/arch/usermode/usermode/
db_memrw.c 166 limit = NBPD_L2 - (addr & (NBPD_L2 - 1));
  /src/sys/arch/x86/x86/
db_memrw.c 166 limit = NBPD_L2 - (addr & (NBPD_L2 - 1));
patch.c 262 n += NBPD_L2;
263 va += NBPD_L2;
svs.c 381 pa += (paddr_t)(va % NBPD_L2);
432 pidx = pl1_i(va % NBPD_L2);
pmap.c 1622 nL2e = pmap_pagetree_nentries_range(startva, endva, NBPD_L2);
1712 spahole = roundup(bootspace.head.pa, NBPD_L2);
1713 epahole = rounddown(bootspace.boot.pa, NBPD_L2);
1730 startva = slotspace_rand(SLAREA_DMAP, lastpa, NBPD_L2,
1769 nL2e = pmap_pagetree_nentries_range(startva, endva, NBPD_L2);
1773 pa = (paddr_t)(i * NBPD_L2);
1857 kva = roundup(bootspace.segs[i].va, NBPD_L2);
1862 bootspace.segs[i].sz, NBPD_L2);
1863 pa = roundup(bootspace.segs[i].pa, NBPD_L2);
1864 for (/* */; kva < kva_end; kva += NBPD_L2, pa += NBPD_L2)
    [all...]
kgdb_machdep.c 98 va = (va & PTE_LGFRAME) + NBPD_L2;
  /src/lib/libkvm/
kvm_i386pae.c 106 return (int)(NBPD_L2 - page_off);
kvm_x86_64.c 159 page_off = va & (NBPD_L2 - 1);
161 return (int)(NBPD_L2 - page_off);
kvm_i386.c 171 return (int)(NBPD_L2 - page_off);
  /src/tests/modules/x86_pte_tester/
x86_pte_tester.c 216 tester_ctx.results.n_rwx += (NBPD_L2 / PAGE_SIZE);
241 tester_ctx.results.n_shstk += (NBPD_L2 / PAGE_SIZE);
  /src/sys/arch/xen/x86/
x86_xpmap.c 541 nL2 = (mapsize + (NBPD_L2 - 1)) >> L2_SHIFT;
  /src/sys/arch/amd64/amd64/
machdep.c 1599 bootspace.spareva = KERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2;
1606 bootspace.emodule = KERNBASE + NKL2_KIMG_ENTRIES * NBPD_L2;

Completed in 24 milliseconds