Lines Matching +full:group +full:- +full:index +full:- +full:shift

31  * index from 0 - 15
33 bool __rpte_sub_valid(real_pte_t rpte, unsigned long index) in __rpte_sub_valid() argument
35 return !(hpte_soft_invalid(__rpte_to_hidx(rpte, index))); in __rpte_sub_valid()
48 unsigned long shift = mmu_psize_defs[MMU_PAGE_4K].shift; in __hash_page_4K() local
89 subpg_index = (ea & (PAGE_SIZE - 1)) >> shift; in __hash_page_4K()
118 gslot = pte_get_hash_gslot(vpn, shift, ssize, rpte, in __hash_page_4K()
128 if (ret == -1) in __hash_page_4K()
155 pa += (subpg_index << shift); in __hash_page_4K()
157 hash = hpt_hash(vpn, shift, ssize); in __hash_page_4K()
167 if (unlikely(slot == -1)) { in __hash_page_4K()
190 if (unlikely(slot == -1 || soft_invalid)) { in __hash_page_4K()
195 * that we do not get the same soft-invalid slot. in __hash_page_4K()
202 * FIXME!! Should be try the group from which we removed ? in __hash_page_4K()
208 * Hypervisor failure. Restore old pte and return -1 in __hash_page_4K()
211 if (unlikely(slot == -2)) { in __hash_page_4K()
215 return -1; in __hash_page_4K()
237 unsigned long shift = mmu_psize_defs[MMU_PAGE_64K].shift; in __hash_page_64K() local
253 * Check if PTE has the cache-inhibit bit set in __hash_page_64K()
282 gslot = pte_get_hash_gslot(vpn, shift, ssize, rpte, 0); in __hash_page_64K()
285 flags) == -1) in __hash_page_64K()
292 hash = hpt_hash(vpn, shift, ssize); in __hash_page_64K()
304 if (unlikely(slot == -1)) { in __hash_page_64K()
311 if (slot == -1) { in __hash_page_64K()
317 * FIXME!! Should be try the group from which we removed ? in __hash_page_64K()
323 * Hypervisor failure. Restore old pte and return -1 in __hash_page_64K()
326 if (unlikely(slot == -2)) { in __hash_page_64K()
330 return -1; in __hash_page_64K()