Searched refs:idx (Results 1 – 7 of 7) sorted by relevance
/virt/kvm/arm/ |
D | pmu.c | 37 pmc -= pmc->idx; in kvm_pmc_to_vcpu() 51 return test_bit(pmc->idx >> 1, vcpu->arch.pmu.chained); in kvm_pmu_pmc_is_chained() 73 kvm_pmu_idx_is_high_counter(pmc->idx)) in kvm_pmu_get_canonical_pmc() 111 reg = PMEVCNTR0_EL0 + pmc->idx; in kvm_pmu_get_pair_counter_value() 118 reg = (pmc->idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_get_pair_counter_value() 119 ? PMCCNTR_EL0 : PMEVCNTR0_EL0 + pmc->idx; in kvm_pmu_get_pair_counter_value() 204 if (pmc->idx == ARMV8_PMU_CYCLE_IDX) { in kvm_pmu_stop_counter() 208 reg = PMEVCNTR0_EL0 + pmc->idx; in kvm_pmu_stop_counter() 231 pmu->pmc[i].idx = i; in kvm_pmu_vcpu_init() 448 int idx = pmc->idx; in kvm_pmu_perf_overflow() local [all …]
|
D | mmu.c | 446 int idx; in stage2_flush_vm() local 448 idx = srcu_read_lock(&kvm->srcu); in stage2_flush_vm() 456 srcu_read_unlock(&kvm->srcu, idx); in stage2_flush_vm() 981 int idx; in stage2_unmap_vm() local 983 idx = srcu_read_lock(&kvm->srcu); in stage2_unmap_vm() 993 srcu_read_unlock(&kvm->srcu, idx); in stage2_unmap_vm() 1929 int ret, idx; in kvm_handle_guest_abort() local 1964 idx = srcu_read_lock(&vcpu->kvm->srcu); in kvm_handle_guest_abort() 2022 srcu_read_unlock(&vcpu->kvm->srcu, idx); in kvm_handle_guest_abort()
|
/virt/kvm/ |
D | eventfd.c | 69 int idx; in irqfd_resampler_ack() local 78 idx = srcu_read_lock(&kvm->irq_srcu); in irqfd_resampler_ack() 83 srcu_read_unlock(&kvm->irq_srcu, idx); in irqfd_resampler_ack() 193 int idx; in irqfd_wakeup() local 196 idx = srcu_read_lock(&kvm->irq_srcu); in irqfd_wakeup() 206 srcu_read_unlock(&kvm->irq_srcu, idx); in irqfd_wakeup() 289 int idx; in kvm_irqfd_assign() local 390 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_irqfd_assign() 420 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_irqfd_assign() 449 int gsi, idx; in kvm_irq_has_notifier() local [all …]
|
D | kvm_main.c | 391 int idx; in kvm_mmu_notifier_invalidate_range() local 393 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_invalidate_range() 395 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_invalidate_range() 404 int idx; in kvm_mmu_notifier_change_pte() local 406 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_change_pte() 414 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_change_pte() 421 int need_tlb_flush = 0, idx; in kvm_mmu_notifier_invalidate_range_start() local 423 idx = srcu_read_lock(&kvm->srcu); in kvm_mmu_notifier_invalidate_range_start() 438 srcu_read_unlock(&kvm->srcu, idx); in kvm_mmu_notifier_invalidate_range_start() 473 int young, idx; in kvm_mmu_notifier_clear_flush_young() local [all …]
|
D | irqchip.c | 75 int ret = -1, i, idx; in kvm_set_irq() local 83 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_set_irq() 85 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_set_irq()
|
/virt/kvm/arm/vgic/ |
D | vgic-init.c | 268 int ret = 0, i, idx; in vgic_init() local 286 kvm_for_each_vcpu(idx, vcpu, kvm) { in vgic_init() 298 irq->targets = 1U << idx; in vgic_init()
|
D | vgic-its.c | 918 int index, idx; in vgic_its_check_id() local 980 idx = srcu_read_lock(&its->dev->kvm->srcu); in vgic_its_check_id() 982 srcu_read_unlock(&its->dev->kvm->srcu, idx); in vgic_its_check_id()
|