/src/sys/arch/arc/jazz/ |
bus_dma_jazz.c | 121 int i, npte; local in function:jazz_bus_dmamap_alloc_sgmap 125 npte = jazz_dma_page_round(segs[i].ds_len + off) / 127 dmapte = jazz_dmatlb_alloc(npte, boundary, flags, &addr); 140 int i, npte; local in function:jazz_bus_dmamap_free_sgmap 145 npte = jazz_dma_page_round(segs[i].ds_len + 147 jazz_dmatlb_free(addr, npte); 162 int error, npte; local in function:jazz_bus_dmamap_create 180 npte = jazz_dma_page_round(maxsegsz) / JAZZ_DMA_PAGE_SIZE + 1; 182 jazz_dmatlb_alloc(npte, boundary, flags, &tlbmap->vaddr); 191 jazz_dmatlb_free(tlbmap->vaddr, npte); 211 int npte; local in function:jazz_bus_dmamap_destroy [all...] |
/src/sys/arch/xen/x86/ |
xen_pmap.c | 171 pt_entry_t *pte, opte, npte; local in function:pmap_kenter_ma 178 npte = ma | ((prot & VM_PROT_WRITE) ? PTE_W : 0) | PTE_P; 180 npte |= PTE_PCD; 183 npte |= PTE_NX; 185 opte = pmap_pte_testset(pte, npte); /* zap! */
|
/src/sys/arch/acorn32/podulebus/ |
esc.c | 252 const pt_entry_t npte = opte & ~L2_C; local in function:escinitialize 253 l2pte_set(ptep, npte, opte);
|
sfas.c | 254 const pt_entry_t npte = opte & ~(L2_C | L2_B); local in function:sfasinitialize 255 l2pte_set(ptep, npte, opte);
|
/src/sys/arch/arm/include/ |
asan.h | 182 pt_entry_t npte = local in function:kasan_md_shadow_map_page 187 l2pte_set(ptep, npte, 0);
|
/src/sys/arch/aarch64/aarch64/ |
pmap_machdep.c | 184 const pt_entry_t npte = opte | LX_BLKPAG_AF | LX_BLKPAG_OS_0; local in function:pmap_fault_fixup 185 atomic_swap_64(ptep, npte); 190 "from %#jx to %#jx)", opte, npte, 0, 0); 202 const pt_entry_t npte = opte | LX_BLKPAG_AF; local in function:pmap_fault_fixup 203 atomic_swap_64(ptep, npte); 208 "from %#jx to %#jx)", opte, npte, 0, 0);
|
/src/sys/arch/evbarm/ixm1200/ |
ixm1200_machdep.c | 747 const pt_entry_t npte = L2_S_PROTO | kaddr | local in function:ixdp_ixp12x0_cc_setup 749 l2pte_set(ptep, npte, 0);
|
/src/sys/arch/acorn32/acorn32/ |
rpc_machdep.c | 1094 const pt_entry_t npte = L2_S_PROTO | kaddr | local in function:rpc_sa110_cc_setup 1098 l2pte_set(ptep, npte, 0);
|
/src/sys/arch/arm/xscale/ |
pxa2x0_lcd.c | 558 const pt_entry_t npte = (opte & ~L2_S_CACHE_MASK) local in function:pxa2x0_lcd_new_screen 560 l2pte_set(ptep, npte, opte);
|
/src/sys/arch/atari/atari/ |
bus.c | 303 pt_entry_t *ptep, npte; local in function:bus_mem_add_mapping 309 npte = *ptep & ~PG_CMASK; 312 npte |= PG_CI; 314 npte |= PG_CCB; 316 *ptep = npte;
|
/src/sys/arch/riscv/riscv/ |
trap.c | 347 pt_entry_t npte; local in function:trap_pagefault_fixup 361 npte = opte; 365 if ((npte & PTE_R) == 0) { 366 npte |= PTE_A; 371 if ((npte & PTE_W) != 0) { 372 npte |= PTE_A | PTE_D; 377 if ((npte & PTE_D) == 0) { 378 npte |= PTE_A | PTE_D; 385 if ((npte & PTE_NX) != 0) { 386 npte &= ~PTE_NX [all...] |
/src/sys/arch/mips/mips/ |
pmap_machdep.c | 226 const pt_entry_t npte = pte_make_kenter_pa(pa, mdpg, prot, 0); local in function:pmap_md_map_ephemeral_page 230 *ptep = npte; // update page table 234 rv = tlb_update_addr(va, KERNEL_PID, npte, true); 236 va, pte_value(npte), rv);
|
/src/sys/arch/aarch64/include/ |
pmap_machdep.h | 448 pt_entry_t npte = pa local in function:pte_make_enter_efirt 460 npte &= ~LX_BLKPAG_PXN; 462 npte &= ~LX_BLKPAG_ATTR_MASK; 463 npte |= pte_memattr(flags); 465 return npte; 476 pt_entry_t npte = pa local in function:pte_make_enter 492 npte |= LX_BLKPAG_AF; 501 npte |= LX_BLKPAG_AF; 505 npte &= (is_kernel_pmap_p ? ~LX_BLKPAG_PXN : ~LX_BLKPAG_UXN); 507 npte &= ~LX_BLKPAG_ATTR_MASK [all...] |
/src/sys/uvm/pmap/ |
pmap.c | 988 const pt_entry_t npte = pte_nv_entry(is_kernel_pmap_p); local in function:pmap_page_remove 989 pte_set(ptep, npte); 1112 const pt_entry_t npte = flags; local in function:pmap_pte_remove 1118 UVMHIST_LOG(pmaphist, "ptep=%#jx, flags(npte)=%#jx)", 1140 pte_set(ptep, npte); 1159 const pt_entry_t npte = pte_nv_entry(is_kernel_pmap_p); local in function:pmap_remove 1177 pmap_pte_process(pmap, sva, eva, pmap_pte_remove, npte); 1261 UVMHIST_LOG(pmaphist, "ptep=%#jx, flags(npte)=%#jx)", 1486 pt_entry_t npte = is_efirt_pmap_p ? local in function:pmap_enter 1521 pmap_enter_pv(pmap, va, pa, md, &npte, 0) 1600 pt_entry_t npte = pte_make_kenter_pa(pa, mdpg, prot, flags); local in function:pmap_kenter_pa [all...] |
/src/sys/arch/shark/ofw/ |
ofw.c | 1051 pt_entry_t npte = pa | L2_TYPE_S | L2_AP(ap_bits) local in function:ofw_callbackhandler 1057 ptep += PAGE_SIZE / L2_S_SIZE, npte += PAGE_SIZE) { 1058 l2pte_set(ptep, npte, 0);
|
/src/sys/arch/alpha/alpha/ |
pmap.c | 2179 pt_entry_t *pte, npte, opte; local in function:pmap_enter 2355 npte = ((pa >> PGSHIFT) << PG_SHIFT) | pte_prot(pmap, prot) | PG_V; 2374 npte |= PG_FOR | PG_FOW | PG_FOE; 2376 npte |= PG_FOW; 2381 npte |= PG_PVLIST; 2384 npte |= PG_WIRED; 2387 printf("pmap_enter: new pte = 0x%lx\n", npte); 2395 tflush = PG_PALCODE(opte) != PG_PALCODE(npte); 2399 atomic_store_relaxed(pte, npte); 2450 const pt_entry_t npte local in function:pmap_kenter_pa 3058 pt_entry_t *pte, npte, opte; local in function:pmap_changebit 3702 const pt_entry_t npte = ((VM_PAGE_TO_PHYS(pg) >> PGSHIFT) << PG_SHIFT) | local in function:pmap_ptpage_alloc [all...] |
/src/sys/arch/m68k/m68k/ |
pmap_motorola.c | 1129 int npte; local in function:pmap_enter 1365 npte = pa | pte_prot(pmap, prot) | (*pte & (PG_M|PG_U)) | PG_V; 1367 npte |= PG_W; 1371 npte |= (mmutype == MMU_68040 ? PG_CIN : PG_CI); 1373 npte |= PG_CIN; 1376 npte |= PG_CI; 1380 else if (mmutype == MMU_68040 && (npte & (PG_PROT|PG_CI)) == PG_RW) 1382 else if ((npte & (PG_PROT|PG_CI)) == PG_RW) 1384 npte |= PG_CCB; 1387 PMAP_DPRINTF(PDB_ENTER, ("enter: new pte value %x\n", npte)); 1443 int s, npte; local in function:pmap_kenter_pa 1851 int npte; local in function:pmap_zero_page 2438 pt_entry_t *pte, npte; local in function:pmap_changebit [all...] |
/src/sys/arch/sparc/sparc/ |
pmap.c | 3085 int npte, zseg, vr, vs; local in function:pmap_bootstrap4_4c 3376 npte = ++scookie < zseg ? NPTESG : lastpage; 3377 sp->sg_npte = npte; 3378 sp->sg_nwired = npte; 3379 pmap_kernel()->pm_stats.resident_count += npte; 3381 for (i = 0; i < npte; i++) 3394 for (p += npte << PGSHIFT; npte < NPTESG; npte++, p += NBPG) 5497 int tpte, npte; local in function:pmap_protect4m [all...] |
/src/sys/arch/arm/arm32/ |
pmap.c | 1704 const pt_entry_t npte = (opte & ~L2_S_CACHE_MASK) local in function:pmap_l2ptp_ctor 1706 l2pte_set(ptep, npte, opte); 1979 pt_entry_t npte = opte & ~L2_S_CACHE_MASK; local in function:pmap_vac_me_user 1989 l2pte_set(ptep, npte, opte); 2011 pt_entry_t npte = (opte & ~L2_S_CACHE_MASK) local in function:pmap_vac_me_user 2019 l2pte_set(ptep, npte, opte); 2298 pt_entry_t npte = opte & ~L2_S_CACHE_MASK; local in function:pmap_vac_me_harder 2303 npte |= pte_l2_s_cache_mode; 2306 if (opte == npte) /* only update is there's a change */ 2313 l2pte_set(ptep, npte, opte) 2419 pt_entry_t npte = opte; local in function:pmap_clearbit 2683 const pt_entry_t npte = L2_S_PROTO | pa | pte_l2_s_cache_mode local in function:pmap_syncicache_page 2794 const pt_entry_t npte = L2_S_PROTO local in function:pmap_flush_page 3167 pt_entry_t npte = pa; local in function:pmap_enter 3806 pt_entry_t npte = L2_S_PROTO | pa | L2_S_PROT(PTE_KERNEL, prot); local in function:pmap_kenter_pa 4164 pt_entry_t npte = l2pte_set_readonly(opte); local in function:pmap_protect 4566 const pt_entry_t npte = local in function:pmap_fault_fixup 4609 pt_entry_t npte = local in function:pmap_fault_fixup 5537 const pt_entry_t npte = L2_S_PROTO | pa | pte_l2_s_cache_mode local in function:pmap_zero_page_generic 5606 pt_entry_t npte = L2_S_PROTO | pa | local in function:pmap_zero_page_xscale 5665 const pt_entry_t npte = L2_S_PROTO | pa | local in function:pmap_pageidlezero 6204 const pt_entry_t npte = (opte & ~(L2_S_PROT_MASK|L2_XS_XN)) local in function:vector_page_setprot 6207 const pt_entry_t npte = (opte & ~L2_S_PROT_MASK) local in function:vector_page_setprot 6984 pt_entry_t npte; local in function:pmap_map_entry 7158 const pt_entry_t npte = L2_L_PROTO | pa local in function:pmap_map_chunk 7175 pt_entry_t npte = L2_S_PROTO | pa local in function:pmap_map_chunk [all...] |
/src/sys/arch/x86/x86/ |
pmap.c | 560 pmap_stats_update_bypte(struct pmap *pmap, pt_entry_t npte, pt_entry_t opte) 562 int resid_diff = ((npte & PTE_P) ? 1 : 0) - ((opte & PTE_P) ? 1 : 0); 563 int wired_diff = ((npte & PTE_WIRED) ? 1 : 0) - ((opte & PTE_WIRED) ? 1 : 0); 565 KASSERT((npte & (PTE_P | PTE_WIRED)) != PTE_WIRED); 891 pmap_exec_account(struct pmap *pm, vaddr_t va, pt_entry_t opte, pt_entry_t npte) 899 if ((opte ^ npte) & PTE_X) 909 if ((opte & PTE_X) && (npte & PTE_X) == 0 && va == pm->pm_hiexec) { 1023 pt_entry_t *pte, opte, npte; local in function:pmap_kenter_pa 1037 npte = pa; 1040 npte = pmap_pa2pte(pa) 1073 pt_entry_t *pte, opte, npte; local in function:pmap_changeprot_local 4397 pt_entry_t npte; local in function:pmap_sync_pv 4881 pt_entry_t opte, npte; local in function:pmap_write_protect 4942 pt_entry_t npte = opte & ~PTE_WIRED; local in function:pmap_unwire 4989 pt_entry_t *ptes, opte, npte; local in function:pmap_enter_ma 5361 pt_entry_t npte; local in function:pmap_enter_gnt 6289 pt_entry_t *ptes, opte, npte; local in function:pmap_ept_enter 6730 pt_entry_t npte; local in function:pmap_ept_sync_pv 6821 pt_entry_t opte, npte; local in function:pmap_ept_write_protect 6894 pt_entry_t npte = opte & ~EPT_WIRED; local in function:pmap_ept_unwire [all...] |