Searched refs:used_lrs (Results 1 – 5 of 5) 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()412 u64 used_lrs = cpu_if->used_lrs; in save_lrs() local417 if (unlikely(used_lrs > 32)) in save_lrs()420 for (i = 0; i < used_lrs; i++) { in save_lrs()433 u64 used_lrs = vcpu->arch.vgic_cpu.vgic_v2.used_lrs; in vgic_v2_save_state() local438 if (used_lrs) { in vgic_v2_save_state()448 u64 used_lrs = cpu_if->used_lrs; in vgic_v2_restore_state() local454 if (used_lrs) { in vgic_v2_restore_state()456 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
836 vcpu->arch.vgic_cpu.vgic_v2.used_lrs = count; in vgic_flush_lr_state()838 vcpu->arch.vgic_cpu.vgic_v3.used_lrs = count; in vgic_flush_lr_state()862 int used_lrs; in kvm_vgic_sync_hwstate() local872 used_lrs = vcpu->arch.vgic_cpu.vgic_v2.used_lrs; in kvm_vgic_sync_hwstate()874 used_lrs = vcpu->arch.vgic_cpu.vgic_v3.used_lrs; in kvm_vgic_sync_hwstate()876 if (used_lrs) in kvm_vgic_sync_hwstate()
45 for (lr = 0; lr < cpuif->used_lrs; lr++) { in vgic_v3_fold_lr_state()102 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 …]
302 unsigned int used_lrs; member321 unsigned int used_lrs; member