Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dhugepage-hash64.c27 unsigned long hidx, shift, vpn, hash, slot; in invalidate_old_hpte() local
55 hidx = hpte_hash_index(hpte_slot_array, i); in invalidate_old_hpte()
61 if (hidx & _PTEIDX_SECONDARY) in invalidate_old_hpte()
65 slot += hidx & _PTEIDX_GROUP_IX; in invalidate_old_hpte()
78 unsigned long rflags, pa, hidx; in __hash_page_thp() local
154 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
155 if (hidx & _PTEIDX_SECONDARY) in __hash_page_thp()
158 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_thp()
Dhash_native_64.c430 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
440 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
446 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate()
450 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
626 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
649 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range()
650 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range()
653 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
Dhash_utils_64.c1283 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local
1288 hidx = __rpte_to_hidx(pte, index); in flush_hash_page()
1289 if (hidx & _PTEIDX_SECONDARY) in flush_hash_page()
1292 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_page()
1293 DBG_LOW(" sub %ld: hash=%lx, hidx=%lx\n", index, slot, hidx); in flush_hash_page()
1417 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local
1424 hidx = linear_map_hash_slots[lmi] & 0x7f; in kernel_unmap_linear_page()
1427 if (hidx & _PTEIDX_SECONDARY) in kernel_unmap_linear_page()
1430 slot += hidx & _PTEIDX_GROUP_IX; in kernel_unmap_linear_page()
Dpgtable_64.c739 unsigned long hidx, vpn, vsid, hash, shift, slot; in hpte_do_hugepage_flush() local
790 hidx = hpte_hash_index(hpte_slot_array, i); in hpte_do_hugepage_flush()
796 if (hidx & _PTEIDX_SECONDARY) in hpte_do_hugepage_flush()
800 slot += hidx & _PTEIDX_GROUP_IX; in hpte_do_hugepage_flush()
/arch/powerpc/include/asm/
Dpte-hash64-64k.h55 rpte.hidx = 0; in __real_pte()
62 rpte.hidx = pte_val(*((ptep) + PTRS_PER_PTE)); in __real_pte()
70 return (rpte.hidx >> (index<<2)) & 0xf; in __rpte_to_hidx()
Dpage.h295 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
335 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
Dpgtable-ppc64.h406 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
408 hpte_slot_array[index] = hidx << 4 | 0x1 << 3; in mark_hpte_slot_valid()
/arch/powerpc/platforms/pseries/
Dlpar.c452 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
461 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
467 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate()
471 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate()
521 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local
536 hidx = __rpte_to_hidx(pte, index); in pSeries_lpar_flush_hash_range()
537 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_flush_hash_range()
540 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_flush_hash_range()