Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-v2.c70 for (lr = 0; lr < vgic_cpu->used_lrs; lr++) { in vgic_v2_fold_lr_state()
134 vgic_cpu->used_lrs = 0; in vgic_v2_fold_lr_state()
437 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in save_lrs() local
442 if (unlikely(used_lrs > 32)) in save_lrs()
445 for (i = 0; i < used_lrs; i++) { in save_lrs()
458 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in vgic_v2_save_state() local
463 if (used_lrs) { in vgic_v2_save_state()
473 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in vgic_v2_restore_state() local
479 if (used_lrs) { in vgic_v2_restore_state()
481 for (i = 0; i < used_lrs; i++) { in vgic_v2_restore_state()
Dvgic-v3.c54 for (lr = 0; lr < vgic_cpu->used_lrs; lr++) { in vgic_v3_fold_lr_state()
126 vgic_cpu->used_lrs = 0; in vgic_v3_fold_lr_state()
Dvgic.c804 vcpu->arch.vgic_cpu.used_lrs = count; in vgic_flush_lr_state()
843 if (vgic_cpu->used_lrs) in kvm_vgic_sync_hwstate()
/Linux-v4.19/virt/kvm/arm/hyp/
Dvgic-v3-sr.c211 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_save_state() local
218 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()
225 if (used_lrs) { in __vgic_v3_save_state()
233 for (i = 0; i < used_lrs; i++) { in __vgic_v3_save_state()
247 u64 used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_restore_state() local
250 if (used_lrs) { in __vgic_v3_restore_state()
253 for (i = 0; i < used_lrs; i++) in __vgic_v3_restore_state()
263 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()
459 unsigned int used_lrs = vcpu->arch.vgic_cpu.used_lrs; in __vgic_v3_highest_priority_lr() local
463 for (i = 0; i < used_lrs; i++) { in __vgic_v3_highest_priority_lr()
[all …]
/Linux-v4.19/include/kvm/
Darm_vgic.h307 unsigned int used_lrs; member