Home
last modified time | relevance | path

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

/linux/arch/powerpc/mm/book3s64/
H A Dhash_native.c375 unsigned long hpte_v, want_v; in native_hpte_updatepp() local
381 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_updatepp()
384 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
394 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
401 if (unlikely(!HPTE_V_COMPARE(hpte_v, want_v) || in native_hpte_updatepp()
428 static long __native_hpte_find(unsigned long want_v, unsigned long slot) in __native_hpte_find() argument
438 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
450 unsigned long want_v; in native_hpte_find() local
455 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hpte_find()
462 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
[all …]
/linux/arch/powerpc/mm/ptdump/
H A 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()
220 want_v = hpte_old_to_new_v(want_v); in native_find()
230 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) { in native_find()
251 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local
260 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
273 if (HPTE_V_COMPARE(ptes[j].v, want_v) && in pseries_find()
/linux/arch/powerpc/platforms/ps3/
H A 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/arch/powerpc/platforms/pseries/
H A Dlpar.c932 unsigned long want_v; in pSeries_lpar_hpte_updatepp() local
934 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
943 want_v, slot, flags, psize); in pSeries_lpar_hpte_updatepp()
945 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
959 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
978 if (HPTE_V_COMPARE(ptes[j].pteh, want_v) && in __pSeries_lpar_hpte_find()
991 unsigned long want_v; in pSeries_lpar_hpte_find() local
995 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
1002 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
1006 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
[all …]