Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_native.c444 unsigned long hpte_v, want_v; in native_hpte_updatepp() local
447 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_updatepp()
450 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
460 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
467 if (unlikely(!HPTE_V_COMPARE(hpte_v, want_v) || in native_hpte_updatepp()
492 static long __native_hpte_find(unsigned long want_v, unsigned long slot) in __native_hpte_find() argument
502 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
514 unsigned long want_v; in native_hpte_find() local
519 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hpte_find()
526 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
[all …]
/Linux-v5.10/arch/powerpc/platforms/ps3/
Dhtab.c104 u64 hpte_v, want_v, hpte_rs; in ps3_hpte_updatepp() local
109 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp()
133 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
/Linux-v5.10/arch/powerpc/mm/ptdump/
Dhashpagetable.c210 unsigned long hash, vsid, vpn, hpte_group, want_v, hpte_v; in native_find() local
218 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_find()
228 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_find()
242 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local
251 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
264 if (HPTE_V_COMPARE(ptes[j].v, want_v) && in pseries_find()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dlpar.c886 unsigned long want_v; in pSeries_lpar_hpte_updatepp() local
888 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
896 want_v, slot, flags, psize); in pSeries_lpar_hpte_updatepp()
898 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
912 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
931 if (HPTE_V_COMPARE(ptes[j].pteh, want_v) && in __pSeries_lpar_hpte_find()
944 unsigned long want_v; in pSeries_lpar_hpte_find() local
948 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
955 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
959 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
[all …]