Lines Matching refs:pteg
410 static uint64_t new_hpte_load0(void *htab, uint64_t pteg, int slot) in new_hpte_load0() argument
414 addr += pteg * HASH_PTEG_SIZE_64; in new_hpte_load0()
419 static void new_hpte_store(void *htab, uint64_t pteg, int slot, in new_hpte_store() argument
424 addr += pteg * HASH_PTEG_SIZE_64; in new_hpte_store()
435 uint64_t pteg, int slot) in rehash_hpte() argument
456 pteg = ~pteg; in rehash_hpte()
467 offset |= ((vsid ^ pteg) & old_hash_mask) << base_pg_shift; in rehash_hpte()
478 offset |= ((vsid ^ (vsid << 25) ^ pteg) & old_hash_mask) in rehash_hpte()
490 assert(~pteg == (hash & old_hash_mask)); in rehash_hpte()
493 assert(pteg == (hash & old_hash_mask)); in rehash_hpte()
495 assert((oldsize != newsize) || (pteg == new_pteg)); in rehash_hpte()
525 uint64_t pteg; in rehash_hpt() local
529 for (pteg = 0; pteg < n_ptegs; pteg++) { in rehash_hpt()
530 hwaddr ptex = pteg * HPTES_PER_GROUP; in rehash_hpt()
540 pteg, slot); in rehash_hpt()