Searched refs:mmuidx_pr (Results 1 – 4 of 4) sorted by relevance
27 static inline bool mmuidx_pr(int idx) { return !(idx & 1); } in mmuidx_pr() function
95 key = !!(mmuidx_pr(mmu_idx) ? (sr & SR32_KP) : (sr & SR32_KS)); in ppc_hash32_pte_prot()104 if ((mmuidx_pr(mmu_idx) && !(batu & BATU32_VP)) in hash32_bat_size()105 || (!mmuidx_pr(mmu_idx) && !(batu & BATU32_VS))) { in hash32_bat_size()198 int key = !!(mmuidx_pr(mmu_idx) ? (sr & SR32_KP) : (sr & SR32_KS)); in ppc_hash32_direct_store()
203 } else if (mmuidx_pr(mmu_idx) || (pte & R_PTE_EAA_PRIV) || in ppc_radix64_check_prot()
406 key = !!(mmuidx_pr(mmu_idx) ? (slb->vsid & SLB_VSID_KP) in ppc_hash64_pte_prot()