Home
last modified time | relevance | path

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

/linux-6.1.9/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()
412 u64 used_lrs = cpu_if->used_lrs; in save_lrs() local
417 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() local
438 if (used_lrs) { in vgic_v2_save_state()
448 u64 used_lrs = cpu_if->used_lrs; in vgic_v2_restore_state() local
454 if (used_lrs) { in vgic_v2_restore_state()
456 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.c45 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()
/linux-6.1.9/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.1.9/include/kvm/
Darm_vgic.h302 unsigned int used_lrs; member
321 unsigned int used_lrs; member