Searched refs:used_lrs (Results 1 – 6 of 6) sorted by relevance
59 for (lr = 0; lr < vgic_cpu->vgic_v2.used_lrs; lr++) { in vgic_v2_fold_lr_state()108 cpuif->used_lrs = 0; in vgic_v2_fold_lr_state()406 u64 used_lrs = cpu_if->used_lrs; in save_lrs() local411 if (unlikely(used_lrs > 32)) in save_lrs()414 for (i = 0; i < used_lrs; i++) { in save_lrs()427 u64 used_lrs = vcpu->arch.vgic_cpu.vgic_v2.used_lrs; in vgic_v2_save_state() local432 if (used_lrs) { in vgic_v2_save_state()442 u64 used_lrs = cpu_if->used_lrs; in vgic_v2_restore_state() local448 if (used_lrs) { in vgic_v2_restore_state()450 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
853 vcpu->arch.vgic_cpu.vgic_v2.used_lrs = count; in vgic_flush_lr_state()855 vcpu->arch.vgic_cpu.vgic_v3.used_lrs = count; in vgic_flush_lr_state()879 int used_lrs; in kvm_vgic_sync_hwstate() local889 used_lrs = vcpu->arch.vgic_cpu.vgic_v2.used_lrs; in kvm_vgic_sync_hwstate()891 used_lrs = vcpu->arch.vgic_cpu.vgic_v3.used_lrs; in kvm_vgic_sync_hwstate()893 if (used_lrs) in kvm_vgic_sync_hwstate()
46 for (lr = 0; lr < cpuif->used_lrs; lr++) { in vgic_v3_fold_lr_state()103 cpuif->used_lrs = 0; in vgic_v3_fold_lr_state()
201 u64 used_lrs = cpu_if->used_lrs; in __vgic_v3_save_state() local208 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()215 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()223 for (i = 0; i < used_lrs; i++) { in __vgic_v3_save_state()236 u64 used_lrs = cpu_if->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()487 unsigned int used_lrs = vcpu->arch.vgic_cpu.vgic_v3.used_lrs; in __vgic_v3_highest_priority_lr() local491 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()[all …]
303 unsigned int used_lrs; member322 unsigned int used_lrs; member
70 for (i = 0; i < hyp_cpu_if->used_lrs; ++i) in sync_hyp_vcpu()