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.h56 rpte.hidx = 0; in __real_pte()
64 rpte.hidx = *hidxp; in __real_pte()
72 return (rpte.hidx >> (index<<2)) & 0xf; in __rpte_to_hidx()
159 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
161 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h75 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.c457 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
467 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
473 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate()
477 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
629 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
652 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range()
653 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range()
656 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
Dhash_utils_64.c1580 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local
1586 hidx = __rpte_to_hidx(pte, index); in flush_hash_page()
1587 if (hidx & _PTEIDX_SECONDARY) in flush_hash_page()
1590 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_page()
1591 DBG_LOW(" sub %ld: hash=%lx, hidx=%lx\n", index, slot, hidx); in flush_hash_page()
1611 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local
1642 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
1648 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage()
1652 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage()
1760 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local
[all …]
/arch/powerpc/platforms/pseries/
Dlpar.c454 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
463 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
469 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate()
473 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate()
535 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local
550 hidx = __rpte_to_hidx(pte, index); in pSeries_lpar_flush_hash_range()
551 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_flush_hash_range()
554 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_flush_hash_range()
/arch/powerpc/include/asm/
Dpgtable-types.h53 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
Dpgtable-be-types.h80 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member