Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_hugepage.c26 unsigned char *hpte_slot_array; in __hash_page_thp() local
77 hpte_slot_array = get_hpte_slot_array(pmdp); in __hash_page_thp()
95 memset(hpte_slot_array, 0, PTE_FRAG_SIZE); in __hash_page_thp()
99 valid = hpte_valid(hpte_slot_array, index); in __hash_page_thp()
103 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
121 hpte_slot_array[index] = 0; in __hash_page_thp()
172 mark_hpte_slot_valid(hpte_slot_array, index, slot); in __hash_page_thp()
Dhash_native.c597 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
613 valid = hpte_valid(hpte_slot_array, i); in native_hugepage_invalidate()
616 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
657 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
Dhash_utils.c1961 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
1966 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
1972 if (!hpte_slot_array) in flush_hash_hugepage()
1976 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
1990 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
1993 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
/linux-6.12.1/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.h120 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
126 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
133 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,
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c1250 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument
1264 valid = hpte_valid(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1267 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1300 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument