Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/mm/book3s64/
Dhash_native.c340 unsigned long hpte_v, want_v; in native_hpte_updatepp() local
343 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_updatepp()
346 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
356 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
363 if (unlikely(!HPTE_V_COMPARE(hpte_v, want_v) || in native_hpte_updatepp()
388 static long __native_hpte_find(unsigned long want_v, unsigned long slot) in __native_hpte_find() argument
398 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
410 unsigned long want_v; in native_hpte_find() local
415 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hpte_find()
422 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
[all …]
/linux-5.19.10/arch/powerpc/platforms/ps3/
Dhtab.c103 u64 hpte_v, want_v, hpte_rs; in ps3_hpte_updatepp() local
108 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp()
132 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in ps3_hpte_updatepp()
/linux-5.19.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()
245 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local
254 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
267 if (HPTE_V_COMPARE(ptes[j].v, want_v) && in pseries_find()
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dlpar.c920 unsigned long want_v; in pSeries_lpar_hpte_updatepp() local
922 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
931 want_v, slot, flags, psize); in pSeries_lpar_hpte_updatepp()
933 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
947 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
966 if (HPTE_V_COMPARE(ptes[j].pteh, want_v) && in __pSeries_lpar_hpte_find()
979 unsigned long want_v; in pSeries_lpar_hpte_find() local
983 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
990 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
994 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
[all …]