Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-v2.c59 for (lr = 0; lr < vgic_cpu->vgic_v2.used_lrs; lr++) { in vgic_v2_fold_lr_state()
123 cpuif->used_lrs = 0; in vgic_v2_fold_lr_state()
430 u64 used_lrs = cpu_if->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.vgic_v2.used_lrs; in vgic_v2_save_state() local
456 if (used_lrs) { in vgic_v2_save_state()
466 u64 used_lrs = cpu_if->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.c836 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() local
872 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()
Dvgic-v3.c42 for (lr = 0; lr < cpuif->used_lrs; lr++) { in vgic_v3_fold_lr_state()
114 cpuif->used_lrs = 0; in vgic_v3_fold_lr_state()
/Linux-v5.10/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c199 u64 used_lrs = cpu_if->used_lrs; in __vgic_v3_save_state() local
206 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()
213 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_save_state()
221 for (i = 0; i < used_lrs; i++) { in __vgic_v3_save_state()
234 u64 used_lrs = cpu_if->used_lrs; in __vgic_v3_restore_state() local
237 if (used_lrs || cpu_if->its_vpe.its_vm) { in __vgic_v3_restore_state()
240 for (i = 0; i < used_lrs; i++) in __vgic_v3_restore_state()
250 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()
440 unsigned int used_lrs = vcpu->arch.vgic_cpu.vgic_v3.used_lrs; in __vgic_v3_highest_priority_lr() local
444 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()
[all …]
/Linux-v5.10/include/kvm/
Darm_vgic.h278 unsigned int used_lrs; member
297 unsigned int used_lrs; member