Home
last modified time | relevance | path

Searched refs:hidx (Results 1 – 9 of 9) sorted by relevance

/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h58 rpte.hidx = 0; in __real_pte()
66 rpte.hidx = *hidxp; in __real_pte()
74 return (rpte.hidx >> (index<<2)) & 0xf; in __rpte_to_hidx()
161 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
163 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h74 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
/arch/powerpc/mm/
Dhugepage-hash64.c27 unsigned long rflags, pa, hidx; in __hash_page_thp() local
100 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
101 if (hidx & _PTEIDX_SECONDARY) in __hash_page_thp()
104 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_thp()
Dhash64_64k.c56 unsigned long rflags, pa, hidx; in __hash_page_4K() local
130 hidx = __rpte_to_hidx(rpte, subpg_index); in __hash_page_4K()
131 if (hidx & _PTEIDX_SECONDARY) in __hash_page_4K()
134 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_4K()
208 rpte.hidx &= ~(0xfUL << (subpg_index << 2)); in __hash_page_4K()
209 *hidxp = rpte.hidx | (slot << (subpg_index << 2)); in __hash_page_4K()
Dhash_native_64.c538 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
548 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
554 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate()
558 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
710 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
733 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range()
734 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range()
737 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
Dhash_utils_64.c1615 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local
1621 hidx = __rpte_to_hidx(pte, index); in flush_hash_page()
1622 if (hidx & _PTEIDX_SECONDARY) in flush_hash_page()
1625 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_page()
1626 DBG_LOW(" sub %ld: hash=%lx, hidx=%lx\n", index, slot, hidx); in flush_hash_page()
1646 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local
1677 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
1683 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage()
1687 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage()
1795 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local
[all …]
/arch/powerpc/platforms/pseries/
Dlpar.c477 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
486 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
492 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate()
496 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate()
558 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local
573 hidx = __rpte_to_hidx(pte, index); in pSeries_lpar_flush_hash_range()
574 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_flush_hash_range()
577 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_flush_hash_range()
/arch/powerpc/include/asm/
Dpgtable-types.h54 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
Dpgtable-be-types.h81 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member