Home
last modified time | relevance | path

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

/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-v2.c59 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() local
411 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() local
432 if (used_lrs) { in vgic_v2_save_state()
442 u64 used_lrs = cpu_if->used_lrs; in vgic_v2_restore_state() local
448 if (used_lrs) { in vgic_v2_restore_state()
450 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
Dvgic.c853 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() local
889 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()
Dvgic-v3.c46 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()
/linux-6.6.21/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c201 u64 used_lrs = cpu_if->used_lrs; in __vgic_v3_save_state() local
208 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() 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()
487 unsigned int used_lrs = vcpu->arch.vgic_cpu.vgic_v3.used_lrs; in __vgic_v3_highest_priority_lr() local
491 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()
[all …]
/linux-6.6.21/include/kvm/
Darm_vgic.h303 unsigned int used_lrs; member
322 unsigned int used_lrs; member
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c70 for (i = 0; i < hyp_cpu_if->used_lrs; ++i) in sync_hyp_vcpu()