Home
last modified time | relevance | path

Searched refs:pshift (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/mm/
Dslice.c232 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup() local
245 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_find_area_bottomup()
289 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local
305 addr = _ALIGN_DOWN(addr - len, 1ul << pshift); in slice_find_area_topdown()
319 addr = _ALIGN_DOWN(addr - len, 1ul << pshift); in slice_find_area_topdown()
409 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local
422 if (len & ((1ul << pshift) - 1)) in slice_get_unmapped_area()
424 if (fixed && (addr & ((1ul << pshift) - 1))) in slice_get_unmapped_area()
431 addr = _ALIGN_UP(addr, 1ul << pshift); in slice_get_unmapped_area()
Dhugetlbpage.c115 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument
122 int num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc()
125 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc()
130 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc()
148 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
160 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc()
184 unsigned pshift = __ffs(sz); in huge_pte_alloc() local
191 if (pshift >= HUGEPD_PGD_SHIFT) { in huge_pte_alloc()
196 if (pshift >= HUGEPD_PUD_SHIFT) { in huge_pte_alloc()
210 if (hugepd_none(*hpdp) && __hugepte_alloc(mm, hpdp, addr, pdshift, pshift)) in huge_pte_alloc()
/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c656 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local
667 pshift = 12; in kvmppc_hv_find_lock_hpte()
671 pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4]; in kvmppc_hv_find_lock_hpte()
681 hash = (vsid ^ ((eaddr & somask) >> pshift)) & HPT_HASH_MASK; in kvmppc_hv_find_lock_hpte()
685 if (pshift >= 24) in kvmppc_hv_find_lock_hpte()
686 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte()
715 hpte_page_size(v, r) == (1ul << pshift)) in kvmppc_hv_find_lock_hpte()
/arch/x86/kernel/apic/
Dx2apic_uv_x.c464 static __init void map_high(char *id, unsigned long base, int pshift, in map_high() argument
469 paddr = base << pshift; in map_high()
/arch/x86/kvm/
Dx86.c932 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument
955 *pshift = shift; in kvm_get_time_scale()