Lines Matching refs:rdreg
465 struct vgic_redist_region *rdreg; in vgic_v3_rdist_overlap() local
467 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_rdist_overlap()
468 if ((base + size > rdreg->base) && in vgic_v3_rdist_overlap()
469 (base < rdreg->base + vgic_v3_rd_region_size(kvm, rdreg))) in vgic_v3_rdist_overlap()
482 struct vgic_redist_region *rdreg; in vgic_v3_check_base() local
488 list_for_each_entry(rdreg, &d->rd_regions, list) { in vgic_v3_check_base()
489 size_t sz = vgic_v3_rd_region_size(kvm, rdreg); in vgic_v3_check_base()
492 rdreg->base, SZ_64K, sz)) in vgic_v3_check_base()
517 struct vgic_redist_region *rdreg; in vgic_v3_rdist_free_slot() local
519 list_for_each_entry(rdreg, rd_regions, list) { in vgic_v3_rdist_free_slot()
520 if (!vgic_v3_redist_region_full(rdreg)) in vgic_v3_rdist_free_slot()
521 return rdreg; in vgic_v3_rdist_free_slot()
530 struct vgic_redist_region *rdreg; in vgic_v3_rdist_region_from_index() local
532 list_for_each_entry(rdreg, rd_regions, list) { in vgic_v3_rdist_region_from_index()
533 if (rdreg->index == index) in vgic_v3_rdist_region_from_index()
534 return rdreg; in vgic_v3_rdist_region_from_index()