Lines Matching defs:sre
90 struct kvmppc_sr *sre, gva_t eaddr,
99 hash = ((sre->vsid ^ page) << 6);
108 sre->vsid);
116 static u32 kvmppc_mmu_book3s_32_get_ptem(struct kvmppc_sr *sre, gva_t eaddr,
119 return ((eaddr & 0x0fffffff) >> 22) | (sre->vsid << 7) |
183 struct kvmppc_sr *sre;
190 sre = find_sr(vcpu_book3s, eaddr);
193 sre->vsid, sre->raw);
197 ptegp = kvmppc_mmu_book3s_32_get_pteg(vcpu_book3s, sre, eaddr, primary);
203 ptem = kvmppc_mmu_book3s_32_get_ptem(sre, eaddr, primary);
217 if ((sre->Kp && (vcpu->arch.msr & MSR_PR)) ||
218 (sre->Ks && !(vcpu->arch.msr & MSR_PR)))
304 struct kvmppc_sr *sre;
306 sre = &to_book3s(vcpu)->sr[srnum];
310 /* kvmppc_mmu_pte_flush(vcpu, ((u64)sre->vsid) << 28, 0xf0000000ULL); */
313 sre->raw = value;
314 sre->vsid = (value & 0x0fffffff);
315 sre->valid = (value & 0x80000000) ? false : true;
316 sre->Ks = (value & 0x40000000) ? true : false;
317 sre->Kp = (value & 0x20000000) ? true : false;
318 sre->nx = (value & 0x10000000) ? true : false;