Home
last modified time | relevance | path

Searched refs:used_lrs (Results 1 – 4 of 4) sorted by relevance

/virt/kvm/arm/vgic/
Dvgic-v2.c59 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() local
435 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() local
456 if (used_lrs) { in vgic_v2_save_state()
466 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in vgic_v2_restore_state() local
472 if (used_lrs) { in vgic_v2_restore_state()
474 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
Dvgic-v3.c42 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()
Dvgic.c830 vcpu->arch.vgic_cpu.used_lrs = count; in vgic_flush_lr_state()
869 if (vgic_cpu->used_lrs) in kvm_vgic_sync_hwstate()
/virt/kvm/arm/hyp/
Dvgic-v3-sr.c200 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_save_state() local
207 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() local
239 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() local
460 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()
[all …]