Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/mm/
Dhugepage-hash64.c26 unsigned char *hpte_slot_array; in __hash_page_thp() local
74 hpte_slot_array = get_hpte_slot_array(pmdp); in __hash_page_thp()
92 memset(hpte_slot_array, 0, PTE_FRAG_SIZE); in __hash_page_thp()
96 valid = hpte_valid(hpte_slot_array, index); in __hash_page_thp()
100 hidx = hpte_hash_index(hpte_slot_array, index); in __hash_page_thp()
118 hpte_slot_array[index] = 0; in __hash_page_thp()
169 mark_hpte_slot_valid(hpte_slot_array, index, slot); in __hash_page_thp()
Dhash_native_64.c599 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
615 valid = hpte_valid(hpte_slot_array, i); in native_hugepage_invalidate()
618 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
661 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
Dhash_utils_64.c1660 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
1665 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
1671 if (!hpte_slot_array) in flush_hash_hugepage()
1675 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
1689 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
1692 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h201 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
203 return hpte_slot_array[index] & 0x1; in hpte_valid()
206 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
209 return hpte_slot_array[index] >> 1; in hpte_hash_index()
212 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
215 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h99 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
105 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
112 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
Dmmu-hash.h165 unsigned char *hpte_slot_array,
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dlpar.c472 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument
486 valid = hpte_valid(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
489 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
522 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument