Home
last modified time | relevance | path

Searched refs:hpte_slot_array (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_hugepage.c26 unsigned char *hpte_slot_array; in __hash_page_thp() local
80 hpte_slot_array = get_hpte_slot_array(pmdp); in __hash_page_thp()
98 memset(hpte_slot_array, 0, PTE_FRAG_SIZE); in __hash_page_thp()
102 valid = hpte_valid(hpte_slot_array, index); in __hash_page_thp()
106 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
124 hpte_slot_array[index] = 0; in __hash_page_thp()
175 mark_hpte_slot_valid(hpte_slot_array, index, slot); in __hash_page_thp()
Dhash_native.c645 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
661 valid = hpte_valid(hpte_slot_array, i); in native_hugepage_invalidate()
664 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
707 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
Dhash_utils.c1789 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
1794 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
1800 if (!hpte_slot_array) in flush_hash_hugepage()
1804 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
1818 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
1821 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h227 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
229 return hpte_slot_array[index] & 0x1; in hpte_valid()
232 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
235 return hpte_slot_array[index] >> 1; in hpte_hash_index()
238 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
241 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h115 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
121 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
128 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
Dmmu-hash.h161 unsigned char *hpte_slot_array,
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dlpar.c1202 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument
1216 valid = hpte_valid(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1219 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1252 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument