Home
last modified time | relevance | path

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

/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()
170 mark_hpte_slot_valid(hpte_slot_array, index, slot); in __hash_page_thp()
Dhash_native_64.c529 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
545 valid = hpte_valid(hpte_slot_array, i); in native_hugepage_invalidate()
548 hidx = hpte_hash_index(hpte_slot_array, i); in native_hugepage_invalidate()
585 unsigned char *hpte_slot_array, in native_hugepage_invalidate() argument
Dhash_utils_64.c1645 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
1650 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
1656 if (!hpte_slot_array) in flush_hash_hugepage()
1660 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
1674 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
1677 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()
/arch/powerpc/include/asm/book3s/64/
Dhash-64k.h149 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
151 return hpte_slot_array[index] & 0x1; in hpte_valid()
154 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
157 return hpte_slot_array[index] >> 1; in hpte_hash_index()
160 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
163 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()
Dhash-4k.h60 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
66 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
73 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
Dmmu-hash.h160 unsigned char *hpte_slot_array,
/arch/powerpc/platforms/pseries/
Dlpar.c469 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument
483 valid = hpte_valid(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
486 hidx = hpte_hash_index(hpte_slot_array, i); in pSeries_lpar_hugepage_invalidate()
519 unsigned char *hpte_slot_array, in pSeries_lpar_hugepage_invalidate() argument