Lines Matching refs:rid
33 * Check to see if the address rid:va is translated by the TLB
36 static int __is_tr_translated(struct thash_data *trp, u64 rid, u64 va)
38 return ((trp->p) && (trp->rid == rid)
45 static int __is_tr_overlap(struct thash_data *trp, u64 rid, u64 sva, u64 eva)
49 if (!trp->p || trp->rid != rid)
118 u64 index, pfn, rid, pfn_bits;
122 rid = _REGION_ID(vrr);
123 index = ((rid & 0xff) << pfn_bits)|(pfn & ((1UL << pfn_bits) - 1));
124 *tag = ((rid >> 8) & 0xffff) | ((pfn >> pfn_bits) << 16);
135 u64 rid;
137 rid = vcpu_get_rr(vcpu, va);
138 rid = rid & RR_RID_MASK;
143 if (__is_tr_translated(trp, rid, va))
151 if (__is_tr_translated(trp, rid, va))
349 u64 end, rid;
351 rid = vcpu_get_rr(vcpu, va);
352 rid = rid & RR_RID_MASK;
358 if (__is_tr_overlap(trp, rid, va, end))
366 if (__is_tr_overlap(trp, rid, va, end))
508 * covering this address rid:va or the entry.