Home
last modified time | relevance | path

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

/Linux-v5.4/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.c618 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
634 valid = hpte_valid(hpte_slot_array, i); in native_hugepage_invalidate()
637 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
680 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
Dhash_utils.c1742 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
1747 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
1753 if (!hpte_slot_array) in flush_hash_hugepage()
1757 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
1771 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
1774 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h214 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
216 return hpte_slot_array[index] & 0x1; in hpte_valid()
219 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
222 return hpte_slot_array[index] >> 1; in hpte_hash_index()
225 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
228 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h110 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
116 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
123 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-v5.4/arch/powerpc/platforms/pseries/
Dlpar.c1185 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument
1199 valid = hpte_valid(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1202 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
1235 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument