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.c379 unsigned long hpte_v, want_v; in native_hpte_updatepp() local
385 want_v = hpte_encode_avpn(vpn, bpsize, ssize); in native_hpte_updatepp()
388 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
398 if (!HPTE_V_COMPARE(hpte_v, want_v) || !(hpte_v & HPTE_V_VALID)) { in native_hpte_updatepp()
405 if (unlikely(!HPTE_V_COMPARE(hpte_v, want_v) || in native_hpte_updatepp()
432 static long __native_hpte_find(unsigned long want_v, unsigned long slot) in __native_hpte_find() argument
442 if (HPTE_V_COMPARE(hpte_v, want_v) && (hpte_v & HPTE_V_VALID)) in __native_hpte_find()
454 unsigned long want_v; in native_hpte_find() local
459 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_hpte_find()
466 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
[all …]
/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/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()
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/arch/powerpc/platforms/pseries/
H A Dlpar.c931 unsigned long want_v; in pSeries_lpar_hpte_updatepp() local
933 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
942 want_v, slot, flags, psize); in pSeries_lpar_hpte_updatepp()
944 lpar_rc = plpar_pte_protect(flags, slot, want_v); in pSeries_lpar_hpte_updatepp()
958 static long __pSeries_lpar_hpte_find(unsigned long want_v, unsigned long hpte_group) in __pSeries_lpar_hpte_find() argument
977 if (HPTE_V_COMPARE(ptes[j].pteh, want_v) && in __pSeries_lpar_hpte_find()
990 unsigned long want_v; in pSeries_lpar_hpte_find() local
994 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
1001 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
1005 slot = __pSeries_lpar_hpte_find(want_v, hpte_group); in pSeries_lpar_hpte_find()
[all …]