Lines Matching refs:pshift
1225 int pshift; in resize_hpt_rehash_hpte() local
1294 pshift = kvmppc_hpte_base_page_shift(vpte, rpte); in resize_hpt_rehash_hpte()
1295 avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23); in resize_hpt_rehash_hpte()
1307 if (pshift < 23) in resize_hpt_rehash_hpte()
1308 offset |= ((vsid ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte()
1310 hash = vsid ^ (offset >> pshift); in resize_hpt_rehash_hpte()
1317 if (pshift < 23) in resize_hpt_rehash_hpte()
1318 offset |= ((vsid ^ (vsid << 25) ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte()
1320 hash = vsid ^ (vsid << 25) ^ (offset >> pshift); in resize_hpt_rehash_hpte()
1823 int pshift; in kvm_htab_write() local
1878 pshift = kvmppc_hpte_base_page_shift(v, r); in kvm_htab_write()
1879 if (pshift <= 0) in kvm_htab_write()
1896 senc = slb_pgsize_encoding(1ul << pshift); in kvm_htab_write()