Lines Matching refs:index
119 #define HIDX_BITS(x, index) (x << (index << 2)) argument
120 #define BITS_TO_HIDX(x, index) ((x >> (index << 2)) & 0xfUL) argument
123 static inline unsigned long __rpte_to_hidx(real_pte_t rpte, unsigned long index) in __rpte_to_hidx() argument
125 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); in __rpte_to_hidx()
153 extern bool __rpte_sub_valid(real_pte_t rpte, unsigned long index);
158 #define pte_iterate_hashed_subpages(rpte, psize, vpn, index, shift) \ argument
164 for (index = 0; vpn < __end; index++, \
166 if (!__split || __rpte_sub_valid(rpte, index))
227 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()
233 int index) in hpte_hash_index() argument
235 return hpte_slot_array[index] >> 1; in hpte_hash_index()
239 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
241 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()