Lines Matching refs:slot

284 static long native_hpte_updatepp(unsigned long slot, unsigned long newpp,  in native_hpte_updatepp()  argument
288 struct hash_pte *hptep = htab_address + slot; in native_hpte_updatepp()
295 vpn, want_v & HPTE_V_AVPN, slot, newpp); in native_hpte_updatepp()
342 long slot; in native_hpte_find() local
349 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
351 hptep = htab_address + slot; in native_hpte_find()
356 return slot; in native_hpte_find()
357 ++slot; in native_hpte_find()
375 long slot; in native_hpte_updateboltedpp() local
381 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_updateboltedpp()
382 if (slot == -1) in native_hpte_updateboltedpp()
384 hptep = htab_address + slot; in native_hpte_updateboltedpp()
397 static void native_hpte_invalidate(unsigned long slot, unsigned long vpn, in native_hpte_invalidate() argument
400 struct hash_pte *hptep = htab_address + slot; in native_hpte_invalidate()
407 DBG_LOW(" invalidate(vpn=%016lx, hash: %lx)\n", vpn, slot); in native_hpte_invalidate()
443 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
462 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
463 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
465 hptep = htab_address + slot; in native_hugepage_invalidate()
516 static void hpte_decode(struct hash_pte *hpte, unsigned long slot, in hpte_decode() argument
547 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
591 unsigned long slot, slots, flags; in native_hpte_clear() local
608 for (slot = 0; slot < slots; slot++, hptep++) { in native_hpte_clear()
621 hpte_decode(hptep, slot, &psize, &apsize, &ssize, &vpn); in native_hpte_clear()
639 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
661 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
662 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
663 hptep = htab_address + slot; in native_flush_hash_range()