Home
last modified time | relevance | path

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

/freebsd/sys/riscv/riscv/
H A Dpmap.c2942 pt_entry_t *firstl3, newl3; in pmap_demote_l2_locked() local
2973 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(mptepa); in pmap_demote_l2_locked()
2987 pmap_store(firstl3 + i, newl3 + (i << PTE_PPN0_S)); in pmap_demote_l2_locked()
2989 KASSERT(PTE_TO_PHYS(pmap_load(firstl3)) == PTE_TO_PHYS(newl3), in pmap_demote_l2_locked()
2996 if ((pmap_load(firstl3) & PTE_PROMOTE) != (newl3 & PTE_PROMOTE)) in pmap_demote_l2_locked()
2998 pmap_store(firstl3 + i, newl3 + (i << PTE_PPN0_S)); in pmap_demote_l2_locked()
3033 pt_entry_t all_l3e_PTE_A, *firstl3, firstl3e, *l3, l3e; in pmap_promote_l2() local
3048 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(PTE_TO_PHYS(pmap_load(l2))); in pmap_promote_l2()
3049 firstl3e = pmap_load(firstl3); in pmap_promote_l2()
3069 if (atomic_fcmpset_64(firstl3, &firstl3e, firstl3e & ~PTE_W)) { in pmap_promote_l2()
[all …]
/freebsd/sys/arm64/arm64/
H A Dpmap.c4712 pt_entry_t all_l3e_AF, *firstl3, *l3, newl2, oldl3, pa; in pmap_promote_l2() local
4728 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(PTE_TO_PHYS(pmap_load(l2))); in pmap_promote_l2()
4729 newl2 = pmap_load(firstl3); in pmap_promote_l2()
4764 if (!atomic_fcmpset_64(firstl3, &newl2, newl2 & ~ATTR_SW_DBM)) in pmap_promote_l2()
4780 for (l3 = firstl3 + NL3PG - 1; l3 > firstl3; l3--) { in pmap_promote_l2()
8199 pmap_fill_l3(pt_entry_t *firstl3, pt_entry_t newl3) in pmap_fill_l3() argument
8203 for (l3 = firstl3; l3 - firstl3 < Ln_ENTRIES; l3++) { in pmap_fill_l3()