/linux/arch/powerpc/mm/book3s64/ |
A D | hash_native.c | 164 va = vpn << VPN_SHIFT; in ___tlbie() 254 va = vpn << VPN_SHIFT; in __tlbiel() 287 va |= (vpn & 0xfe); in __tlbiel() 548 unsigned long vpn; in native_hpte_updateboltedpp() local 579 unsigned long vpn; in native_hpte_removebolted() local 768 *vpn = size = 0; in hpte_decode() 792 unsigned long vpn = 0; in native_hpte_clear() local 831 unsigned long vpn = 0; in native_flush_hash_range() local 850 vpn = batch->vpn[i]; in native_flush_hash_range() 881 vpn = batch->vpn[i]; in native_flush_hash_range() [all …]
|
A D | hash_64k.c | 45 unsigned long vpn, hash, slot, gslot; in __hash_page_4K() local 88 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_4K() 100 flush_hash_page(vpn, rpte, MMU_PAGE_64K, ssize, flags); in __hash_page_4K() 116 gslot = pte_get_hash_gslot(vpn, shift, ssize, rpte, in __hash_page_4K() 118 ret = mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, in __hash_page_4K() 155 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K() 169 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K() 183 mmu_hash_ops.hpte_invalidate(hpte_group + gslot, vpn, in __hash_page_4K() 231 unsigned long vpn, hash, slot; in __hash_page_64K() local 270 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_64K() [all …]
|
A D | hash_4k.c | 27 unsigned long vpn, hash, slot; in __hash_page_4K() local 64 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_4K() 69 unsigned long gslot = pte_get_hash_gslot(vpn, shift, ssize, in __hash_page_4K() 72 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_4K, in __hash_page_4K() 80 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K() 86 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K() 93 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
|
A D | hash_hugepage.c | 30 unsigned long vpn, hash, shift, slot; in __hash_page_thp() local 79 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_thp() 105 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 112 ret = mmu_hash_ops.hpte_updatepp(slot, rflags, vpn, in __hash_page_thp() 131 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 140 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp() 147 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_thp()
|
A D | hash_hugetlbpage.c | 24 unsigned long vpn; in __hash_page_huge() local 32 vpn = hpt_vpn(ea, vsid, ssize); in __hash_page_huge() 88 gslot = pte_get_hash_gslot(vpn, shift, ssize, rpte, 0); in __hash_page_huge() 89 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge() 95 unsigned long hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge() 102 slot = hpte_insert_repeating(hash, vpn, pa, rflags, 0, in __hash_page_huge()
|
A D | hash_tlb.c | 43 unsigned long vpn; in hpte_need_flush() local 96 vpn = hpt_vpn(addr, vsid, ssize); in hpte_need_flush() 104 flush_hash_page(vpn, rpte, psize, ssize, mm_is_thread_local(mm)); in hpte_need_flush() 130 batch->vpn[i] = vpn; in hpte_need_flush() 151 flush_hash_page(batch->vpn[0], batch->pte[0], in __flush_tlb_pending()
|
A D | hash_utils.c | 273 unsigned long vpn = hpt_vpn(vaddr, vsid, ssize); in htab_bolt_mapping() local 300 hash = hpt_hash(vpn, shift, ssize); in htab_bolt_mapping() 1808 hash = hpt_hash(vpn, shift, ssize); in pte_get_hash_gslot() 1823 DBG_LOW("flush_hash_page(vpn=%016lx)\n", vpn); in flush_hash_page() 1846 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local 1881 vpn = hpt_vpn(addr, vsid, ssize); in flush_hash_hugepage() 1882 hash = hpt_hash(vpn, shift, ssize); in flush_hash_hugepage() 1888 mmu_hash_ops.hpte_invalidate(slot, vpn, psize, in flush_hash_hugepage() 1906 flush_hash_page(batch->vpn[i], batch->pte[i], in flush_hash_range() 1953 hash = hpt_hash(vpn, PAGE_SHIFT, mmu_kernel_ssize); in kernel_map_linear_page() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
A D | lpar.c | 884 unsigned long vpn, in pSeries_lpar_hpte_updatepp() argument 975 unsigned long vpn; in pSeries_lpar_hpte_updateboltedpp() local 1005 slot, vpn, psize, local); in pSeries_lpar_hpte_invalidate() 1187 unsigned long *vpn, in __pSeries_lpar_hugepage_invalidate() argument 1239 vpn_array[index] = vpn; in pSeries_lpar_hugepage_invalidate() 1269 unsigned long vpn; in pSeries_lpar_hpte_removebolted() local 1288 unsigned long vpn, in compute_slot() argument 1311 unsigned long vpn; in do_block_remove() local 1321 vpn = batch->vpn[i]; in do_block_remove() 1506 unsigned long vpn; in pSeries_lpar_flush_hash_range() local [all …]
|
/linux/arch/powerpc/platforms/ps3/ |
A D | htab.c | 35 static long ps3_hpte_insert(unsigned long hpte_group, unsigned long vpn, in ps3_hpte_insert() argument 53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert() 68 __func__, ps3_result(result), vpn, pa, hpte_group, in ps3_hpte_insert() 100 unsigned long vpn, int psize, int apsize, in ps3_hpte_updatepp() argument 109 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp() 120 __func__, ps3_result(result), vpn, slot, psize); in ps3_hpte_updatepp() 153 static void ps3_hpte_invalidate(unsigned long slot, unsigned long vpn, in ps3_hpte_invalidate() argument 165 __func__, ps3_result(result), vpn, slot, psize); in ps3_hpte_invalidate()
|
/linux/arch/sh/mm/ |
A D | pmb.c | 37 unsigned long vpn; member 132 return (b->vpn == (a->vpn + a->size)) && in pmb_can_merge() 156 if ((vaddr < pmbe->vpn) || (vaddr >= (pmbe->vpn + pmbe->size))) in pmb_mapping_exists() 269 pmbe->vpn = vpn; in pmb_alloc() 302 __raw_writel(pmbe->vpn | PMB_V, addr); in __set_pmb_entry() 472 if (pmbe->vpn == vaddr) { in pmb_unmap() 506 flush_cache_vunmap(pmbe->vpn, pmbe->vpn + pmbe->size); in __pmb_unmap_entry() 579 unsigned long ppn, vpn, flags; in pmb_synchronize() local 597 vpn = addr_val & PMB_PFN_MASK; in pmb_synchronize() 624 pmbe = pmb_alloc(vpn, ppn, flags, i); in pmb_synchronize() [all …]
|
A D | tlb-sh3.c | 29 unsigned long flags, pteval, vpn; in __update_tlb() local 40 vpn = (address & MMU_VPN_MASK) | get_asid(); in __update_tlb() 41 __raw_writel(vpn, MMU_PTEH); in __update_tlb()
|
A D | tlb-pteaex.c | 20 unsigned long flags, pteval, vpn; in __update_tlb() local 31 vpn = address & MMU_VPN_MASK; in __update_tlb() 32 __raw_writel(vpn, MMU_PTEH); in __update_tlb()
|
A D | tlb-sh4.c | 18 unsigned long flags, pteval, vpn; in __update_tlb() local 29 vpn = (address & MMU_VPN_MASK) | get_asid(); in __update_tlb() 30 __raw_writel(vpn, MMU_PTEH); in __update_tlb()
|
A D | tlb-debugfs.c | 94 unsigned long vpn, ppn, asid, size; in tlb_seq_show() local 102 vpn = val & 0xfffffc00; in tlb_seq_show() 126 entry, vpn, ppn, asid, in tlb_seq_show()
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | mmu-hash.h | 136 unsigned long vpn, 141 unsigned long vpn, 148 unsigned long vpn, 324 static inline unsigned long hpte_encode_avpn(unsigned long vpn, int psize, in hpte_encode_avpn() argument 336 v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); in hpte_encode_avpn() 392 v = hpte_encode_avpn(vpn, base_psize, ssize); in hpte_encode_v() 432 static inline unsigned long hpt_hash(unsigned long vpn, in hpt_hash() argument 441 hash = (vpn >> (SID_SHIFT - VPN_SHIFT)) ^ in hpt_hash() 442 ((vpn & mask) >> (shift - VPN_SHIFT)); in hpt_hash() 445 vsid = vpn >> (SID_SHIFT_1T - VPN_SHIFT); in hpt_hash() [all …]
|
A D | hash-64k.h | 158 #define pte_iterate_hashed_subpages(rpte, psize, vpn, index, shift) \ argument 160 unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \ 164 for (index = 0; vpn < __end; index++, \ 165 vpn += (1L << (shift - VPN_SHIFT))) { \
|
A D | tlbflush-hash.h | 19 unsigned long vpn[PPC64_TLB_BATCH_NR]; member 56 extern void flush_hash_page(unsigned long vpn, real_pte_t pte, int psize,
|
A D | hash.h | 216 unsigned long pte_get_hash_gslot(unsigned long vpn, unsigned long shift,
|
/linux/arch/powerpc/mm/ptdump/ |
A D | hashpagetable.c | 210 unsigned long hash, vsid, vpn, hpte_group, want_v, hpte_v; in native_find() local 216 vpn = hpt_vpn(ea, vsid, ssize); in native_find() 217 hash = hpt_hash(vpn, shift, ssize); in native_find() 218 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_find() 242 unsigned long vsid, vpn, hash, hpte_group, want_v; in pseries_find() local 249 vpn = hpt_vpn(ea, vsid, ssize); in pseries_find() 250 hash = hpt_hash(vpn, shift, ssize); in pseries_find() 251 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_64_mmu_host.c | 74 unsigned long vpn; in kvmppc_mmu_map_page() local 122 vpn = hpt_vpn(orig_pte->eaddr, map->host_vsid, MMU_SEGSIZE_256M); in kvmppc_mmu_map_page() 149 hash = hpt_hash(vpn, mmu_psize_defs[hpsize].shift, MMU_SEGSIZE_256M); in kvmppc_mmu_map_page() 169 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, hpaddr, rflags, vflags, in kvmppc_mmu_map_page() 183 vpn, hpaddr, orig_pte); in kvmppc_mmu_map_page() 195 cpte->host_vpn = vpn; in kvmppc_mmu_map_page()
|
A D | book3s_32_mmu_host.c | 134 u64 vpn; in kvmppc_mmu_map_page() local 167 vpn = (vsid << (SID_SHIFT - VPN_SHIFT)) | in kvmppc_mmu_map_page() 243 orig_pte->eaddr, (ulong)pteg, vpn, in kvmppc_mmu_map_page() 247 pte->host_vpn = vpn; in kvmppc_mmu_map_page()
|
A D | book3s_64_mmu.c | 124 u64 vpn; in kvmppc_mmu_book3s_64_get_pteg() local 128 vpn = kvmppc_slb_calc_vpn(slbe, eaddr); in kvmppc_mmu_book3s_64_get_pteg() 130 hash = hpt_hash(vpn, kvmppc_mmu_book3s_64_get_pagesize(slbe), ssize); in kvmppc_mmu_book3s_64_get_pteg()
|
/linux/arch/xtensa/mm/ |
A D | tlb.c | 229 unsigned vpn = (r0 & PAGE_MASK) | (e << PAGE_SHIFT); in check_tlb_entry() local 230 unsigned pte = get_pte_for_vaddr(vpn); in check_tlb_entry() 236 if (tlb_asid > 0 && ((vpn < TASK_SIZE) == kernel)) { in check_tlb_entry() 238 dtlb ? 'D' : 'I', w, e, vpn, in check_tlb_entry()
|
/linux/arch/ia64/kernel/ |
A D | palinfo.c | 683 unsigned long vpn:52; in tr_info() member 749 (gr_reg->ppn & pgm)<< 12, (ifa_reg->vpn & pgm)<< 12); in tr_info()
|
/linux/Documentation/networking/ |
A D | batman-adv.rst | 18 on wifi as well as ethernet lan, vpn, etc ... (anything with ethernet-style
|