Lines Matching refs:index
106 #define HIDX_BITS(x, index) (x << (index << 2)) argument
107 #define BITS_TO_HIDX(x, index) ((x >> (index << 2)) & 0xfUL) argument
110 static inline unsigned long __rpte_to_hidx(real_pte_t rpte, unsigned long index) in __rpte_to_hidx() argument
112 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); in __rpte_to_hidx()
140 extern bool __rpte_sub_valid(real_pte_t rpte, unsigned long index);
145 #define pte_iterate_hashed_subpages(rpte, psize, vpn, index, shift) \ argument
151 for (index = 0; vpn < __end; index++, \
153 if (!__split || __rpte_sub_valid(rpte, index))
214 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()
220 int index) in hpte_hash_index() argument
222 return hpte_slot_array[index] >> 1; in hpte_hash_index()
226 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
228 hpte_slot_array[index] = (hidx << 1) | 0x1; in mark_hpte_slot_valid()