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()
329 long slot; in native_hpte_find() local
336 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find()
338 hptep = htab_address + slot; in native_hpte_find()
343 return slot; in native_hpte_find()
344 ++slot; in native_hpte_find()
362 long slot; in native_hpte_updateboltedpp() local
368 slot = native_hpte_find(vpn, psize, ssize); in native_hpte_updateboltedpp()
369 if (slot == -1) in native_hpte_updateboltedpp()
371 hptep = htab_address + slot; in native_hpte_updateboltedpp()
384 static void native_hpte_invalidate(unsigned long slot, unsigned long vpn, in native_hpte_invalidate() argument
387 struct hash_pte *hptep = htab_address + slot; in native_hpte_invalidate()
394 DBG_LOW(" invalidate(vpn=%016lx, hash: %lx)\n", vpn, slot); in native_hpte_invalidate()
430 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
449 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate()
450 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
452 hptep = htab_address + slot; in native_hugepage_invalidate()
503 static void hpte_decode(struct hash_pte *hpte, unsigned long slot, in hpte_decode() argument
534 pteg = slot / HPTES_PER_GROUP; in hpte_decode()
578 unsigned long slot, slots, flags; in native_hpte_clear() local
595 for (slot = 0; slot < slots; slot++, hptep++) { in native_hpte_clear()
608 hpte_decode(hptep, slot, &psize, &apsize, &ssize, &vpn); in native_hpte_clear()
626 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
652 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
653 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
654 hptep = htab_address + slot; in native_flush_hash_range()