Lines Matching refs:vpn

757 				     unsigned long vpn, unsigned long pa,  in pSeries_lpar_hpte_insert()  argument
769 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert()
771 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
925 unsigned long vpn, in pSeries_lpar_hpte_updatepp() argument
933 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
986 static long pSeries_lpar_hpte_find(unsigned long vpn, int psize, int ssize) in pSeries_lpar_hpte_find() argument
993 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in pSeries_lpar_hpte_find()
994 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
1016 unsigned long vpn; in pSeries_lpar_hpte_updateboltedpp() local
1020 vpn = hpt_vpn(ea, vsid, ssize); in pSeries_lpar_hpte_updateboltedpp()
1022 slot = pSeries_lpar_hpte_find(vpn, psize, ssize); in pSeries_lpar_hpte_updateboltedpp()
1037 static void pSeries_lpar_hpte_invalidate(unsigned long slot, unsigned long vpn, in pSeries_lpar_hpte_invalidate() argument
1046 slot, vpn, psize, local); in pSeries_lpar_hpte_invalidate()
1048 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_invalidate()
1147 static void hugepage_block_invalidate(unsigned long *slot, unsigned long *vpn, in hugepage_block_invalidate() argument
1161 vpgb = (vpn[i] >> (shift - VPN_SHIFT + 3)); in hugepage_block_invalidate()
1170 param[0] = hpte_encode_avpn(vpn[i], psize, ssize); in hugepage_block_invalidate()
1193 static void hugepage_bulk_invalidate(unsigned long *slot, unsigned long *vpn, in hugepage_bulk_invalidate() argument
1202 pSeries_lpar_hpte_invalidate(slot[i], vpn[i], psize, 0, in hugepage_bulk_invalidate()
1206 param[pix+1] = hpte_encode_avpn(vpn[i], psize, ssize); in hugepage_bulk_invalidate()
1228 unsigned long *vpn, in __pSeries_lpar_hugepage_invalidate() argument
1240 hugepage_block_invalidate(slot, vpn, count, psize, ssize); in __pSeries_lpar_hugepage_invalidate()
1242 hugepage_bulk_invalidate(slot, vpn, count, psize, ssize); in __pSeries_lpar_hugepage_invalidate()
1258 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
1271 vpn = hpt_vpn(addr, vsid, ssize); in pSeries_lpar_hugepage_invalidate()
1272 hash = hpt_hash(vpn, shift, ssize); in pSeries_lpar_hugepage_invalidate()
1280 vpn_array[index] = vpn; in pSeries_lpar_hugepage_invalidate()
1310 unsigned long vpn; in pSeries_lpar_hpte_removebolted() local
1314 vpn = hpt_vpn(ea, vsid, ssize); in pSeries_lpar_hpte_removebolted()
1316 slot = pSeries_lpar_hpte_find(vpn, psize, ssize); in pSeries_lpar_hpte_removebolted()
1323 pSeries_lpar_hpte_invalidate(slot, vpn, psize, 0, ssize, 0); in pSeries_lpar_hpte_removebolted()
1329 unsigned long vpn, in compute_slot() argument
1336 hash = hpt_hash(vpn, shift, ssize); in compute_slot()
1352 unsigned long vpn; in do_block_remove() local
1362 vpn = batch->vpn[i]; in do_block_remove()
1364 pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { in do_block_remove()
1369 vpgb = (vpn >> (shift - VPN_SHIFT + 3)); in do_block_remove()
1379 param[0] = hpte_encode_avpn(vpn, psize, in do_block_remove()
1384 slot = compute_slot(pte, vpn, index, shift, ssize); in do_block_remove()
1527 unsigned long vpn; in pSeries_lpar_flush_hash_range() local
1549 vpn = batch->vpn[i]; in pSeries_lpar_flush_hash_range()
1551 pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) { in pSeries_lpar_flush_hash_range()
1552 slot = compute_slot(pte, vpn, index, shift, ssize); in pSeries_lpar_flush_hash_range()
1557 pSeries_lpar_hpte_invalidate(slot, vpn, psize, in pSeries_lpar_flush_hash_range()
1561 param[pix+1] = hpte_encode_avpn(vpn, psize, in pSeries_lpar_flush_hash_range()