Searched refs:used_lrs (Results 1 – 4 of 4) sorted by relevance
59 for (lr = 0; lr < vgic_cpu->used_lrs; lr++) { in vgic_v2_fold_lr_state()123 vgic_cpu->used_lrs = 0; in vgic_v2_fold_lr_state()430 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in save_lrs() local435 if (unlikely(used_lrs > 32)) in save_lrs()438 for (i = 0; i < used_lrs; i++) { in save_lrs()451 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in vgic_v2_save_state() local456 if (used_lrs) { in vgic_v2_save_state()466 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in vgic_v2_restore_state() local472 if (used_lrs) { in vgic_v2_restore_state()474 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
42 for (lr = 0; lr < vgic_cpu->used_lrs; lr++) { in vgic_v3_fold_lr_state()114 vgic_cpu->used_lrs = 0; in vgic_v3_fold_lr_state()
830 vcpu->arch.vgic_cpu.used_lrs = count; in vgic_flush_lr_state()869 if (vgic_cpu->used_lrs) in kvm_vgic_sync_hwstate()
200 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_save_state() local207 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()214 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()222 for (i = 0; i < used_lrs; i++) { in __vgic_v3_save_state()236 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_restore_state() local239 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_restore_state()242 for (i = 0; i < used_lrs; i++) in __vgic_v3_restore_state()252 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()456 unsigned int used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_highest_priority_lr() local460 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()[all …]