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.c1347 int64_t refchg; in moea64_unwire() local
1369 refchg = moea64_pte_replace(pvo, 0 /* No invalidation */); in moea64_unwire()
1372 if (refchg < 0) in moea64_unwire()
1373 refchg = LPTE_CHG; in moea64_unwire()
1376 refchg |= atomic_readandclear_32(&m->md.mdpg_attrs); in moea64_unwire()
1377 if (refchg & LPTE_CHG) in moea64_unwire()
1379 if (refchg & LPTE_REF) in moea64_unwire()
2055 int64_t refchg, ret; in moea64_remove_write() local
2067 refchg = 0; in moea64_remove_write()
2082 refchg |= ret; in moea64_remove_write()
[all …]
H A Dmoea64_native.c924 uint64_t ptehi, refchg, vpn; in moea64_pte_unset_sp_locked() local
927 refchg = 0; in moea64_pte_unset_sp_locked()
942 refchg |= LPTE_CHG; in moea64_pte_unset_sp_locked()
946 refchg |= moea64_pte_unset_locked(pt, vpn); in moea64_pte_unset_sp_locked()
949 return (refchg); in moea64_pte_unset_sp_locked()
955 uint64_t refchg; in moea64_pte_unset_sp_native() local
962 refchg = moea64_pte_unset_sp_locked(pvo); in moea64_pte_unset_sp_native()
965 return (refchg); in moea64_pte_unset_sp_native()
1019 uint64_t refchg; in moea64_pte_replace_sp_native() local
1026 refchg = moea64_pte_unset_sp_locked(pvo); in moea64_pte_replace_sp_native()
[all …]