Home
last modified time | relevance | path

Searched refs:refchg (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/powerpc/ps3/
H A Dmmu_ps3.c199 int64_t refchg; in mps3_pte_clear() local
204 refchg = mps3_pte_synch_locked(pvo); in mps3_pte_clear()
205 if (refchg < 0) { in mps3_pte_clear()
207 return (refchg); in mps3_pte_clear()
212 pte.pte_lo |= refchg; in mps3_pte_clear()
219 return (refchg); in mps3_pte_clear()
225 int64_t refchg; in mps3_pte_unset() local
228 refchg = mps3_pte_synch_locked(pvo); in mps3_pte_unset()
229 if (refchg < 0) { in mps3_pte_unset()
239 return (refchg & (LPTE_REF | LPTE_CHG)); in mps3_pte_unset()
/freebsd/sys/powerpc/pseries/
H A Dmmu_phyp.c318 int64_t refchg; in mphyp_pte_clear() local
332 refchg = mphyp_pte_synch(pvo); in mphyp_pte_clear()
333 if (refchg < 0) { in mphyp_pte_clear()
335 return (refchg); in mphyp_pte_clear()
345 return (refchg & ~LPTE_REF); in mphyp_pte_clear()
353 refchg |= (ptelo & LPTE_CHG); in mphyp_pte_clear()
360 refchg |= (ptelo & LPTE_REF); in mphyp_pte_clear()
365 return (refchg); in mphyp_pte_clear()
586 uint64_t junk, refchg; in mphyp_pte_unset_sp() local
596 refchg = 0; in mphyp_pte_unset_sp()
[all …]
/freebsd/sys/powerpc/aim/
H A Dmmu_oea64.c1312 int64_t refchg; in moea64_unwire() local
1334 refchg = moea64_pte_replace(pvo, 0 /* No invalidation */); in moea64_unwire()
1337 if (refchg < 0) in moea64_unwire()
1338 refchg = LPTE_CHG; in moea64_unwire()
1341 refchg |= atomic_readandclear_32(&m->md.mdpg_attrs); in moea64_unwire()
1342 if (refchg & LPTE_CHG) in moea64_unwire()
1344 if (refchg & LPTE_REF) in moea64_unwire()
2020 int64_t refchg, ret; in moea64_remove_write() local
2032 refchg = 0; in moea64_remove_write()
2047 refchg |= ret; in moea64_remove_write()
[all …]
H A Dmoea64_native.c918 uint64_t ptehi, refchg, vpn; in moea64_pte_unset_sp_locked() local
921 refchg = 0; in moea64_pte_unset_sp_locked()
936 refchg |= LPTE_CHG; in moea64_pte_unset_sp_locked()
940 refchg |= moea64_pte_unset_locked(pt, vpn); in moea64_pte_unset_sp_locked()
943 return (refchg); in moea64_pte_unset_sp_locked()
949 uint64_t refchg; in moea64_pte_unset_sp_native() local
956 refchg = moea64_pte_unset_sp_locked(pvo); in moea64_pte_unset_sp_native()
959 return (refchg); in moea64_pte_unset_sp_native()
1013 uint64_t refchg; in moea64_pte_replace_sp_native() local
1020 refchg = moea64_pte_unset_sp_locked(pvo); in moea64_pte_replace_sp_native()
[all …]