Searched refs:hidx (Results 1 – 8 of 8) sorted by relevance
/arch/powerpc/mm/ |
D | hugepage-hash64.c | 27 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()
|
D | hash_native_64.c | 430 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()
|
D | hash_utils_64.c | 1283 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()
|
D | pgtable_64.c | 739 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/ |
D | pte-hash64-64k.h | 55 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()
|
D | page.h | 295 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
|
D | pgtable-ppc64.h | 406 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/ |
D | lpar.c | 452 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()
|