/arch/powerpc/mm/ |
D | hugetlbpage.c | 47 unsigned int pshift, spinlock_t *ptl) in __hugepte_alloc() argument 54 if (pshift >= pdshift) { in __hugepte_alloc() 56 num_hugepd = 1 << (pshift - pdshift); in __hugepte_alloc() 58 cachep = PGT_CACHE(pdshift - pshift); in __hugepte_alloc() 69 BUG_ON(pshift > HUGEPD_SHIFT_MASK); in __hugepte_alloc() 92 hugepd_populate(hpdp, new, pshift); in __hugepte_alloc() 118 unsigned pshift = __ffs(sz); in huge_pte_alloc() local 127 if (pshift == PGDIR_SHIFT) in huge_pte_alloc() 130 else if (pshift > PUD_SHIFT) { in huge_pte_alloc() 141 if (pshift == PUD_SHIFT) in huge_pte_alloc() [all …]
|
/arch/powerpc/include/asm/nohash/ |
D | hugetlb-e500.h | 31 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument 34 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in hugepd_populate()
|
/arch/powerpc/include/asm/nohash/32/ |
D | hugetlb-8xx.h | 33 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument 38 static inline void hugepd_populate_kernel(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate_kernel() argument
|
/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 101 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument 103 *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS | (shift_to_mmu_psize(pshift) << 2)); in hugepd_populate()
|
/arch/powerpc/kvm/ |
D | book3s_hv_rm_mmu.c | 1066 unsigned int pshift; in mmio_cache_search() local 1072 pshift = entry->slb_base_pshift; in mmio_cache_search() 1073 if ((entry->eaddr >> pshift) == (eaddr >> pshift) && in mmio_cache_search() 1101 unsigned int pshift; in kvmppc_hv_find_lock_hpte() local 1112 pshift = 12; in kvmppc_hv_find_lock_hpte() 1116 pshift = slb_base_page_shift[(slb_v & SLB_VSID_LP) >> 4]; in kvmppc_hv_find_lock_hpte() 1126 hash = (vsid ^ ((eaddr & somask) >> pshift)) & kvmppc_hpt_mask(&kvm->arch.hpt); in kvmppc_hv_find_lock_hpte() 1130 if (pshift >= 24) in kvmppc_hv_find_lock_hpte() 1131 avpn &= ~((1UL << (pshift - 16)) - 1); in kvmppc_hv_find_lock_hpte() 1163 kvmppc_hpte_base_page_shift(v, r) == pshift) in kvmppc_hv_find_lock_hpte() [all …]
|
D | book3s_64_mmu_hv.c | 1240 int pshift; in resize_hpt_rehash_hpte() local 1309 pshift = kvmppc_hpte_base_page_shift(vpte, rpte); in resize_hpt_rehash_hpte() 1310 avpn = HPTE_V_AVPN_VAL(vpte) & ~(((1ul << pshift) - 1) >> 23); in resize_hpt_rehash_hpte() 1322 if (pshift < 23) in resize_hpt_rehash_hpte() 1323 offset |= ((vsid ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte() 1325 hash = vsid ^ (offset >> pshift); in resize_hpt_rehash_hpte() 1332 if (pshift < 23) in resize_hpt_rehash_hpte() 1333 offset |= ((vsid ^ (vsid << 25) ^ pteg) & old_hash_mask) << pshift; in resize_hpt_rehash_hpte() 1335 hash = vsid ^ (vsid << 25) ^ (offset >> pshift); in resize_hpt_rehash_hpte() 1838 int pshift; in kvm_htab_write() local [all …]
|
D | book3s_64_mmu_radix.c | 311 unsigned int pshift, unsigned int lpid) in kvmppc_radix_tlbie_page() argument 318 if (pshift) in kvmppc_radix_tlbie_page() 319 psize = 1UL << pshift; in kvmppc_radix_tlbie_page() 321 pshift = PAGE_SHIFT; in kvmppc_radix_tlbie_page() 330 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page()
|
/arch/powerpc/mm/book3s64/ |
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() 327 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown() local 334 info.align_mask = PAGE_MASK & ((1ul << pshift) - 1); in slice_find_area_topdown() 434 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_get_unmapped_area() local 435 unsigned long page_size = 1UL << pshift; in slice_get_unmapped_area()
|
D | hash_utils.c | 906 unsigned pshift = mmu_psize_defs[mmu_virtual_psize].shift; in htab_shift_for_mem_size() local 914 pteg_shift = memshift - (pshift + 1); in htab_shift_for_mem_size()
|
/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 194 unsigned int pshift, unsigned int lpid);
|
/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 878 static __init void map_high(char *id, unsigned long base, int pshift, int bshift, int max_pnode, en… in map_high() argument 882 paddr = base << pshift; in map_high()
|
/arch/x86/kvm/ |
D | x86.c | 2392 s8 *pshift, u32 *pmultiplier) in kvm_get_time_scale() argument 2415 *pshift = shift; in kvm_get_time_scale()
|