Searched refs:hidx (Results 1 – 8 of 8) sorted by relevance
| /linux/arch/powerpc/include/asm/book3s/64/ |
| H A D | hash-64k.h | 107 rpte.hidx = *hidxp; in __real_pte() 125 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); in __rpte_to_hidx() 134 unsigned long hidx, int offset) in pte_set_hidx() argument 138 rpte.hidx &= ~HIDX_BITS(0xfUL, subpg_index); in pte_set_hidx() 139 *hidxp = rpte.hidx | HIDX_BITS(HIDX_SHIFT_BY_ONE(hidx), subpg_index); in pte_set_hidx() 239 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument 241 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
|
| H A D | hash-4k.h | 113 unsigned int subpg_index, unsigned long hidx, in pte_set_hidx() argument 116 return (hidx << H_PAGE_F_GIX_SHIFT) & in pte_set_hidx() 142 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
|
| /linux/fs/verity/ |
| H A D | verify.c | 187 u64 hidx = data_pos >> params->log_blocksize; in verify_data_block() local 231 next_hidx = hidx >> params->log_arity; in verify_data_block() 244 hoffset = (hidx << params->log_digestsize) & in verify_data_block() 270 hidx = next_hidx; in verify_data_block()
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_64k.c | 25 static inline bool hpte_soft_invalid(unsigned long hidx) in hpte_soft_invalid() argument 27 return ((hidx & 0xfUL) == 0xfUL); in hpte_soft_invalid() 142 rpte.hidx = INVALID_RPTE_HIDX; in __hash_page_4K()
|
| H A D | hash_utils.c | 2189 unsigned long hash, gslot, hidx; in pte_get_hash_gslot() local 2192 hidx = __rpte_to_hidx(rpte, subpg_index); in pte_get_hash_gslot() 2193 if (hidx & _PTEIDX_SECONDARY) in pte_get_hash_gslot() 2196 gslot += hidx & _PTEIDX_GROUP_IX; in pte_get_hash_gslot() 2229 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local 2260 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage() 2266 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage() 2270 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pgtable-types.h | 79 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
|
| H A D | pgtable-be-types.h | 76 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
|
| /linux/drivers/perf/ |
| H A D | riscv_pmu_sbi.c | 1047 int lidx, hidx, fidx; in pmu_sbi_ovf_handler() local 1107 hidx = lidx; in pmu_sbi_ovf_handler() 1110 hidx = info->csr - CSR_CYCLE; in pmu_sbi_ovf_handler() 1113 if (!(overflow & BIT(hidx))) in pmu_sbi_ovf_handler()
|