Home
last modified time | relevance | path

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

/linux/arch/powerpc/include/asm/book3s/64/
H A 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()
H A Dhash-4k.h128 static inline unsigned int hpte_valid(unsigned char *hpte_slot_array, int index) in hpte_valid() argument
134 static inline unsigned int hpte_hash_index(unsigned char *hpte_slot_array, in hpte_hash_index() argument
141 static inline void mark_hpte_slot_valid(unsigned char *hpte_slot_array, in mark_hpte_slot_valid() argument
H A Dmmu-hash.h161 unsigned char *hpte_slot_array,
/linux/arch/powerpc/mm/book3s64/
H A Dhash_utils.c2228 unsigned char *hpte_slot_array; in flush_hash_hugepage() local
2233 hpte_slot_array = get_hpte_slot_array(pmdp); in flush_hash_hugepage()
2239 if (!hpte_slot_array) in flush_hash_hugepage()
2243 mmu_hash_ops.hugepage_invalidate(vsid, s_addr, hpte_slot_array, in flush_hash_hugepage()
2257 valid = hpte_valid(hpte_slot_array, i); in flush_hash_hugepage()
2260 hidx = hpte_hash_index(hpte_slot_array, i); in flush_hash_hugepage()