Lines Matching refs:slot
439 static long native_hpte_updatepp(unsigned long slot, unsigned long newpp, in native_hpte_updatepp() argument
443 struct hash_pte *hptep = htab_address + slot; in native_hpte_updatepp()
450 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
492 static long __native_hpte_find(unsigned long want_v, unsigned long slot) in __native_hpte_find() argument
500 hptep = htab_address + slot; in __native_hpte_find()
504 return slot; in __native_hpte_find()
505 ++slot; in __native_hpte_find()
516 long slot; in native_hpte_find() local
526 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
527 if (slot < 0) { in native_hpte_find()
530 slot = __native_hpte_find(want_v, hpte_group); in native_hpte_find()
531 if (slot < 0) in native_hpte_find()
535 return slot; in native_hpte_find()
550 long slot; in native_hpte_updateboltedpp() local
556 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_updateboltedpp()
557 if (slot == -1) in native_hpte_updateboltedpp()
559 hptep = htab_address + slot; in native_hpte_updateboltedpp()
581 long slot; in native_hpte_removebolted() local
587 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_removebolted()
588 if (slot == -1) in native_hpte_removebolted()
591 hptep = htab_address + slot; in native_hpte_removebolted()
604 static void native_hpte_invalidate(unsigned long slot, unsigned long vpn, in native_hpte_invalidate() argument
607 struct hash_pte *hptep = htab_address + slot; in native_hpte_invalidate()
614 DBG_LOW(" invalidate(vpn=%016lx, hash: %lx)\n", vpn, slot); in native_hpte_invalidate()
654 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
673 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
674 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
676 hptep = htab_address + slot; in native_hugepage_invalidate()
714 static void hpte_decode(struct hash_pte *hpte, unsigned long slot, in hpte_decode() argument
741 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
793 unsigned long slot, slots; in native_hpte_clear() local
803 for (slot = 0; slot < slots; slot++, hptep++) { in native_hpte_clear()
816 hpte_decode(hptep, slot, &psize, &apsize, &ssize, &vpn); in native_hpte_clear()
832 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
858 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
859 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
860 hptep = htab_address + slot; in native_flush_hash_range()