Searched refs:firstl3 (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | pmap.c | 2672 pt_entry_t *firstl3, newl3; in pmap_demote_l2_locked() local 2703 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(mptepa); in pmap_demote_l2_locked() 2717 pmap_store(firstl3 + i, newl3 + (i << PTE_PPN0_S)); in pmap_demote_l2_locked() 2719 KASSERT(PTE_TO_PHYS(pmap_load(firstl3)) == PTE_TO_PHYS(newl3), in pmap_demote_l2_locked() 2726 if ((pmap_load(firstl3) & PTE_PROMOTE) != (newl3 & PTE_PROMOTE)) in pmap_demote_l2_locked() 2728 pmap_store(firstl3 + i, newl3 + (i << PTE_PPN0_S)); in pmap_demote_l2_locked() 2763 pt_entry_t all_l3e_PTE_A, *firstl3, firstl3e, *l3, l3e; in pmap_promote_l2() local 2778 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(PTE_TO_PHYS(pmap_load(l2))); in pmap_promote_l2() 2779 firstl3e = pmap_load(firstl3); in pmap_promote_l2() 2799 if (atomic_fcmpset_64(firstl3, &firstl3e, firstl3e & ~PTE_W)) { in pmap_promote_l2() [all …]
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | pmap.c | 4163 pt_entry_t all_l3e_AF, *firstl3, *l3, newl2, oldl3, pa; in pmap_promote_l2() local 4179 firstl3 = (pt_entry_t *)PHYS_TO_DMAP(PTE_TO_PHYS(pmap_load(l2))); in pmap_promote_l2() 4180 newl2 = pmap_load(firstl3); in pmap_promote_l2() 4215 if (!atomic_fcmpset_64(firstl3, &newl2, newl2 & ~ATTR_SW_DBM)) in pmap_promote_l2() 4231 for (l3 = firstl3 + NL3PG - 1; l3 > firstl3; l3--) { in pmap_promote_l2() 6956 pmap_fill_l3(pt_entry_t *firstl3, pt_entry_t newl3) in pmap_fill_l3() argument 6960 for (l3 = firstl3; l3 - firstl3 < Ln_ENTRIES; l3++) { in pmap_fill_l3()
|