pshift
unsigned int pshift, u64 lpid);
int pshift;
pshift = kvmppc_hpte_base_page_shift(vpte, rpte);
avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23);
if (pshift < 23)
offset |= ((vsid ^ pteg) & old_hash_mask) << pshift;
hash = vsid ^ (offset >> pshift);
if (pshift < 23)
offset |= ((vsid ^ (vsid << 25) ^ pteg) & old_hash_mask) << pshift;
hash = vsid ^ (vsid << 25) ^ (offset >> pshift);
int pshift;
pshift = kvmppc_hpte_base_page_shift(v, r);
if (pshift <= 0)
senc = slb_pgsize_encoding(1ul << pshift);
unsigned int pshift, u64 lpid)
if (pshift)
psize = 1UL << pshift;
pshift = PAGE_SHIFT;
psi = shift_to_mmu_psize(pshift);
unsigned int pshift;
pshift = entry->slb_base_pshift;
if ((entry->eaddr >> pshift) == (eaddr >> pshift) &&
unsigned int pshift;
pshift = 12;
pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4];
hash = (vsid ^ ((eaddr & somask) >> pshift)) & kvmppc_hpt_mask(&kvm->arch.hpt);
if (pshift >= 24)
avpn &= ~((1UL << (pshift - 16)) - 1);
kvmppc_hpte_base_page_shift(v, r) == pshift)
unsigned int pshift = 12;
pshift = slb_base_page_shift[pshift_index];
cache_entry->slb_base_pshift = pshift;
unsigned pshift = mmu_psize_defs[mmu_virtual_psize].shift;
pteg_shift = memshift - (pshift + 1);
unsigned int pshift = mmu_psize_defs[mmu_linear_psize].shift;
update_page_count(mmu_linear_psize, (end - start) >> pshift);
unsigned int pshift = mmu_psize_defs[mmu_linear_psize].shift;
update_page_count(mmu_linear_psize, -((end - start) >> pshift));
unsigned int pshift = mmu_psize_defs[mmu_linear_psize].shift;
update_page_count(mmu_linear_psize, size >> pshift);
(tce_alloc_end - tce_alloc_start) >> pshift);
unsigned int pshift = mmu_psize_defs[mmu_linear_psize].shift;
update_page_count(mmu_linear_psize, KFENCE_POOL_SIZE >> pshift);
int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
.align_mask = PAGE_MASK & ((1ul << pshift) - 1),
int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
.align_mask = PAGE_MASK & ((1ul << pshift) - 1),
int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
unsigned long page_size = 1UL << pshift;
static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, enum map_type map_type)
paddr = base << pshift;
s8 *pshift, u32 *pmultiplier)
*pshift = shift;
shift = pshift(pll, PLL_NINT);
shift = pshift(pll, PLL_KINT);
shift = pshift(pll, PLL_IBIAS);
GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \
pshift(pll, member)) : 0)
(pinternal(pll, cfg, member) >> pshift(pll, member))
shift = pshift(pll, PLL_REFIN);
reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p);
p = FACTOR_GET(config->pshift, config->pwidth, reg);
u8 pshift;
.pshift = 16,
.pshift = 4,
.pshift = 0,
.pshift = 16,
.pshift = 16,
.pshift = 16,
.pshift = 16,
.pshift = 4,
.pshift = 4,
.pshift = 16,
.pshift = 20,
next_folio_vaddr = vaddr + (1UL << (cur_order + pshift()));
next_folio_vaddr = vaddr + (1UL << (cur_order + pshift()));
size_t idx = pfn >> (HPAGE_SHIFT - pshift());
ram >> (20 + HPAGE_SHIFT - pshift() - 1));
(uintptr_t)ptr >> (pshift() - 3)) != sizeof(ent))
!(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - pshift())) - 1)))