Home
last modified time | relevance | path

Searched refs:newl2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm64/arm64/
H A Dpmap.c3678 pt_entry_t newl2, oldl2 __diagused; in pmap_remove_kernel_l2() local
3691 newl2 = PHYS_TO_PTE(ml3pa) | L2_TABLE; in pmap_remove_kernel_l2()
3704 oldl2 = pmap_load_store(l2, newl2); in pmap_remove_kernel_l2()
4712 pt_entry_t all_l3e_AF, *firstl3, *l3, newl2, oldl3, pa; in pmap_promote_l2() local
4729 newl2 = pmap_load(firstl3); in pmap_promote_l2()
4730 if ((newl2 & ATTR_SW_NO_PROMOTE) != 0) in pmap_promote_l2()
4733 if ((PTE_TO_PHYS(newl2) & L2_OFFSET) != 0 || in pmap_promote_l2()
4734 ((newl2 & ATTR_DESCR_MASK) != L3_PAGE)) { /* ... or is invalid */ in pmap_promote_l2()
4758 if ((newl2 & (ATTR_S1_AP_RW_BIT | ATTR_SW_DBM)) == in pmap_promote_l2()
4764 if (!atomic_fcmpset_64(firstl3, &newl2, newl2 & ~ATTR_SW_DBM)) in pmap_promote_l2()
[all …]
/freebsd/sys/riscv/riscv/
H A Dpmap.c2375 pt_entry_t newl2, oldl2 __diagused; in pmap_remove_kernel_l2() local
2388 newl2 = ml3pa | PTE_V; in pmap_remove_kernel_l2()
2400 oldl2 = pmap_load_store(l2, newl2); in pmap_remove_kernel_l2()
2865 pt_entry_t *l2, oldl1, newl2; in pmap_demote_l1() local
2898 newl2 = oldl1; in pmap_demote_l1()
2900 pmap_store(&l2[i], newl2 | (i << PTE_PPN1_S)); in pmap_demote_l1()
2941 pd_entry_t newl2, oldl2; in pmap_demote_l2_locked() local
2974 newl2 = ((mptepa / PAGE_SIZE) << PTE_PPN0_S) | PTE_V; in pmap_demote_l2_locked()
3014 pmap_store(l2, newl2); in pmap_demote_l2_locked()