Searched refs:hidx (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/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 | 296 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member 336 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
|
D | pgtable-ppc64.h | 419 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument 421 hpte_slot_array[index] = hidx << 4 | 0x1 << 3; in mark_hpte_slot_valid()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | hugepage-hash64.c | 27 unsigned long rflags, pa, hidx; in __hash_page_thp() local 104 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp() 105 if (hidx & _PTEIDX_SECONDARY) in __hash_page_thp() 108 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_thp()
|
D | hash_native_64.c | 443 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local 453 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate() 459 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate() 463 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate() 638 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local 657 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range() 658 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range() 661 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
|
D | hash_utils_64.c | 1295 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local 1301 hidx = __rpte_to_hidx(pte, index); in flush_hash_page() 1302 if (hidx & _PTEIDX_SECONDARY) in flush_hash_page() 1305 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_page() 1306 DBG_LOW(" sub %ld: hash=%lx, hidx=%lx\n", index, slot, hidx); in flush_hash_page() 1339 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local 1370 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage() 1376 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage() 1380 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage() 1503 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local [all …]
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | lpar.c | 458 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local 467 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate() 473 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate() 477 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate() 527 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local 542 hidx = __rpte_to_hidx(pte, index); in pSeries_lpar_flush_hash_range() 543 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_flush_hash_range() 546 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_flush_hash_range()
|
/linux-4.4.14/kernel/trace/ |
D | ftrace.c | 3008 int hidx; member 3026 if (iter->hidx >= FTRACE_FUNC_HASHSIZE) in t_hash_next() 3029 hhd = &ftrace_func_hash[iter->hidx]; in t_hash_next() 3032 iter->hidx++; in t_hash_next() 3042 iter->hidx++; in t_hash_next() 3067 iter->hidx = 0; in t_hash_start()
|