Searched refs:pshift (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/mm/ |
D | hugetlbpage.c | 54 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument 61 if (pshift >= pdshift) { in __hugepte_alloc() 63 num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc() 65 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc() 71 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc() 98 (shift_to_mmu_psize(pshift) << 2)); in __hugepte_alloc() 101 (pshift == PAGE_SHIFT_8M ? _PMD_PAGE_8M : in __hugepte_alloc() 105 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in __hugepte_alloc() 143 unsigned pshift = __ffs(sz); in huge_pte_alloc() local 150 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() [all …]
|
D | slice.c | 283 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup() local 289 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_bottomup() 329 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local 336 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown() 428 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local 429 unsigned long page_size = 1UL << pshift; in slice_get_unmapped_area()
|
D | hash_utils_64.c | 729 unsigned pshift = mmu_psize_defs[mmu_virtual_psize].shift; in htab_shift_for_mem_size() local 737 pteg_shift = memshift - (pshift + 1); in htab_shift_for_mem_size()
|
/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 949 unsigned int pshift; in mmio_cache_search() local 955 pshift = entry->slb_base_pshift; in mmio_cache_search() 956 if ((entry->eaddr >> pshift) == (eaddr >> pshift) && in mmio_cache_search() 984 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local 995 pshift = 12; in kvmppc_hv_find_lock_hpte() 999 pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4]; in kvmppc_hv_find_lock_hpte() 1009 hash = (vsid ^ ((eaddr & somask) >> pshift)) & kvmppc_hpt_mask(&kvm->arch.hpt); in kvmppc_hv_find_lock_hpte() 1013 if (pshift >= 24) in kvmppc_hv_find_lock_hpte() 1014 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte() 1046 hpte_base_page_size(v, r) == (1ul << pshift)) in kvmppc_hv_find_lock_hpte() [all …]
|
D | book3s_64_mmu_radix.c | 152 unsigned int pshift) in kvmppc_radix_tlbie_page() argument 156 if (pshift >= PMD_SHIFT) in kvmppc_radix_tlbie_page()
|
/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 670 static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, en… in map_high() argument 674 paddr = base << pshift; in map_high()
|
/arch/x86/kvm/ |
D | x86.c | 1389 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument 1412 *pshift = shift; in kvm_get_time_scale()
|