Lines Matching +full:time +full:- +full:slot
22 * Return true, if the entry has a slot value which
31 * index from 0 - 15
47 unsigned long vpn, hash, slot, gslot; in __hash_page_4K() local
89 subpg_index = (ea & (PAGE_SIZE - 1)) >> shift; in __hash_page_4K()
104 * clear the old slot details from the old and new pte. in __hash_page_4K()
106 * want slot information there if we have a insert failure. in __hash_page_4K()
128 if (ret == -1) in __hash_page_4K()
138 * Initialize all hidx entries to invalid value, the first time in __hash_page_4K()
161 /* Insert into the hash table, primary slot */ in __hash_page_4K()
162 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
167 if (unlikely(slot == -1)) { in __hash_page_4K()
171 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
176 soft_invalid = hpte_soft_invalid(slot); in __hash_page_4K()
179 * We got a valid slot from a hardware point of view. in __hash_page_4K()
184 gslot = slot & _PTEIDX_GROUP_IX; in __hash_page_4K()
190 if (unlikely(slot == -1 || soft_invalid)) { in __hash_page_4K()
192 * For soft invalid slot, let's ensure that we release a in __hash_page_4K()
193 * slot from the primary, with the hope that we will in __hash_page_4K()
194 * acquire that slot next time we try. This will ensure in __hash_page_4K()
195 * that we do not get the same soft-invalid slot. 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()
218 new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE); in __hash_page_4K()
236 unsigned long vpn, hash, slot; in __hash_page_64K() local
253 * Check if PTE has the cache-inhibit bit set in __hash_page_64K()
285 flags) == -1) in __hash_page_64K()
297 /* Insert into the hash table, primary slot */ in __hash_page_64K()
298 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_64K()
304 if (unlikely(slot == -1)) { in __hash_page_64K()
306 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_64K()
311 if (slot == -1) { 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()
334 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE); in __hash_page_64K()