Lines Matching defs:shift
993 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize);
1151 unsigned long shift, current_vpgb, vpgb;
1154 shift = mmu_psize_defs[psize].shift;
1161 vpgb = (vpn[i] >> (shift - VPN_SHIFT + 3));
1258 unsigned long shift, hidx, vpn = 0, hash, slot;
1260 shift = mmu_psize_defs[psize].shift;
1261 max_hpte_count = 1U << (PMD_SHIFT - shift);
1270 addr = s_addr + (i * (1ul << shift));
1272 hash = hpt_hash(vpn, shift, ssize);
1331 unsigned long shift,
1336 hash = hpt_hash(vpn, shift, ssize);
1354 unsigned long index, shift, slot, current_vpgb, vpgb;
1364 pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) {
1369 vpgb = (vpn >> (shift - VPN_SHIFT + 3));
1384 slot = compute_slot(pte, vpn, index, shift, ssize);
1533 unsigned long index, shift, slot;
1551 pte_iterate_hashed_subpages(pte, psize, vpn, index, shift) {
1552 slot = compute_slot(pte, vpn, index, shift, ssize);
1603 unsigned long shift;
1611 state->commit_rc = plpar_resize_hpt_commit(0, state->shift);
1616 ppc64_pft_size = state->shift;
1627 static int pseries_lpar_resize_hpt(unsigned long shift)
1630 .shift = shift,
1642 pr_info("Attempting to resize HPT to shift %lu\n", shift);
1646 rc = plpar_resize_hpt_prepare(0, shift);
1651 /* prepare with shift==0 cancels an in-progress resize */
1659 rc = plpar_resize_hpt_prepare(0, shift);
1697 pr_info("HPT resize to shift %lu complete (%lld ms / %lld ms)\n",
1698 shift, (long long) ktime_ms_delta(t1, t0),