Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h107 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()
Dhash-4k.h105 unsigned int subpg_index, unsigned long hidx, in pte_set_hidx() argument
108 return (hidx << H_PAGE_F_GIX_SHIFT) & in pte_set_hidx()
134 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_hugepage.c27 unsigned long rflags, pa, hidx; in __hash_page_thp() local
103 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
104 if (hidx & _PTEIDX_SECONDARY) in __hash_page_thp()
107 slot += hidx & _PTEIDX_GROUP_IX; in __hash_page_thp()
Dhash_native.c606 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local
616 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
622 if (hidx & _PTEIDX_SECONDARY) in native_hugepage_invalidate()
626 slot += hidx & _PTEIDX_GROUP_IX; in native_hugepage_invalidate()
782 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local
805 hidx = __rpte_to_hidx(pte, index); in native_flush_hash_range()
806 if (hidx & _PTEIDX_SECONDARY) in native_flush_hash_range()
809 slot += hidx & _PTEIDX_GROUP_IX; in native_flush_hash_range()
Dhash_64k.c25 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()
Dhash_utils.c1922 unsigned long hash, gslot, hidx; in pte_get_hash_gslot() local
1925 hidx = __rpte_to_hidx(rpte, subpg_index); in pte_get_hash_gslot()
1926 if (hidx & _PTEIDX_SECONDARY) in pte_get_hash_gslot()
1929 gslot += hidx & _PTEIDX_GROUP_IX; in pte_get_hash_gslot()
1962 unsigned long hidx, shift, vpn, hash, slot; in flush_hash_hugepage() local
1993 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
1999 if (hidx & _PTEIDX_SECONDARY) in flush_hash_hugepage()
2003 slot += hidx & _PTEIDX_GROUP_IX; in flush_hash_hugepage()
2156 unsigned long hash, hidx, slot; in kernel_unmap_linear_page() local
2166 hidx = linear_map_hash_slots[lmi] & 0x7f; in kernel_unmap_linear_page()
[all …]
/linux-6.12.1/fs/verity/
Dverify.c116 u64 hidx = data_pos >> params->log_blocksize; in verify_data_block() local
156 next_hidx = hidx >> params->log_arity; in verify_data_block()
169 hoffset = (hidx << params->log_digestsize) & in verify_data_block()
193 hidx = next_hidx; in verify_data_block()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c1258 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local
1267 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1273 if (hidx & _PTEIDX_SECONDARY) in pSeries_lpar_hugepage_invalidate()
1277 slot += hidx & _PTEIDX_GROUP_IX; in pSeries_lpar_hugepage_invalidate()
1334 unsigned long slot, hash, hidx; in compute_slot() local
1337 hidx = __rpte_to_hidx(pte, index); in compute_slot()
1338 if (hidx & _PTEIDX_SECONDARY) in compute_slot()
1341 slot += hidx & _PTEIDX_GROUP_IX; in compute_slot()
/linux-6.12.1/arch/powerpc/include/asm/
Dpgtable-types.h79 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
Dpgtable-be-types.h76 typedef struct { pte_t pte; unsigned long hidx; } real_pte_t; member
/linux-6.12.1/drivers/perf/
Driscv_pmu_sbi.c955 int lidx, hidx, fidx; in pmu_sbi_ovf_handler() local
1015 hidx = lidx; in pmu_sbi_ovf_handler()
1018 hidx = info->csr - CSR_CYCLE; in pmu_sbi_ovf_handler()
1021 if (!(overflow & BIT(hidx))) in pmu_sbi_ovf_handler()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c284 int hidx = enetc_vid_hash_idx(i); in enetc_sync_vlan_ht_filter() local
286 __set_bit(hidx, pf->vlan_ht_filter); in enetc_sync_vlan_ht_filter()