Searched refs:pshift (Results 1 – 4 of 4) sorted by relevance
/linux-3.3/arch/powerpc/mm/ |
D | slice.c | 232 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()
|
D | hugetlbpage.c | 113 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument 120 int num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc() 123 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc() 128 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc() 146 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc() 158 hpdp->pd = ((unsigned long)new & ~PD_HUGE) | pshift; in __hugepte_alloc() 182 unsigned pshift = __ffs(sz); in huge_pte_alloc() local 189 if (pshift >= HUGEPD_PGD_SHIFT) { in huge_pte_alloc() 194 if (pshift >= HUGEPD_PUD_SHIFT) { in huge_pte_alloc() 208 if (hugepd_none(*hpdp) && __hugepte_alloc(mm, hpdp, addr, pdshift, pshift)) in huge_pte_alloc()
|
/linux-3.3/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 458 static __init void map_high(char *id, unsigned long base, int pshift, in map_high() argument 463 paddr = base << pshift; in map_high()
|
/linux-3.3/arch/x86/kvm/ |
D | x86.c | 928 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument 951 *pshift = shift; in kvm_get_time_scale()
|