Searched refs:grp (Results 1 – 2 of 2) sorted by relevance
/virt/kvm/ |
D | vfio.c | 140 struct iommu_group *grp = kvm_vfio_group_get_iommu_group(vfio_group); in kvm_spapr_tce_release_vfio_group() local 142 if (WARN_ON_ONCE(!grp)) in kvm_spapr_tce_release_vfio_group() 145 kvm_spapr_tce_release_iommu_group(kvm, grp); in kvm_spapr_tce_release_vfio_group() 146 iommu_group_put(grp); in kvm_spapr_tce_release_vfio_group() 284 struct iommu_group *grp; in kvm_vfio_set_group() local 300 grp = kvm_vfio_group_get_iommu_group(vfio_group); in kvm_vfio_set_group() 301 if (WARN_ON_ONCE(!grp)) { in kvm_vfio_set_group() 315 param.tablefd, grp); in kvm_vfio_set_group() 321 iommu_group_put(grp); in kvm_vfio_set_group()
|
/virt/kvm/arm/hyp/ |
D | vgic-v3-sr.c | 568 static u8 __hyp_text __vgic_v3_pri_to_pre(u8 pri, u32 vmcr, int grp) in __vgic_v3_pri_to_pre() argument 572 if (!grp) in __vgic_v3_pri_to_pre() 586 static void __hyp_text __vgic_v3_set_active_priority(u8 pri, u32 vmcr, int grp) in __vgic_v3_set_active_priority() argument 592 pre = __vgic_v3_pri_to_pre(pri, vmcr, grp); in __vgic_v3_set_active_priority() 596 if (!grp) { in __vgic_v3_set_active_priority() 647 int lr, grp; in __vgic_v3_read_iar() local 649 grp = __vgic_v3_get_group(vcpu); in __vgic_v3_read_iar() 655 if (grp != !!(lr_val & ICH_LR_GROUP)) in __vgic_v3_read_iar() 663 if (__vgic_v3_get_highest_active_priority() <= __vgic_v3_pri_to_pre(lr_prio, vmcr, grp)) in __vgic_v3_read_iar() 671 __vgic_v3_set_active_priority(lr_prio, vmcr, grp); in __vgic_v3_read_iar() [all …]
|