Home
last modified time | relevance | path

Searched refs:irq_srcu (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/virt/kvm/
Deventfd.c78 idx = srcu_read_lock(&kvm->irq_srcu); in irqfd_resampler_ack()
83 srcu_read_unlock(&kvm->irq_srcu, idx); in irqfd_resampler_ack()
95 synchronize_srcu(&kvm->irq_srcu); in irqfd_resampler_shutdown()
120 synchronize_srcu(&kvm->irq_srcu); in irqfd_shutdown()
196 idx = srcu_read_lock(&kvm->irq_srcu); in irqfd_wakeup()
206 srcu_read_unlock(&kvm->irq_srcu, idx); in irqfd_wakeup()
366 synchronize_srcu(&kvm->irq_srcu); in kvm_irqfd_assign()
390 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_irqfd_assign()
420 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_irqfd_assign()
451 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_irq_has_notifier()
[all …]
Dirqchip.c29 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_irq_map_gsi()
45 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_irq_map_chip_pin()
83 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_set_irq()
85 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_set_irq()
228 synchronize_srcu_expedited(&kvm->irq_srcu); in kvm_set_irq_routing()
Dkvm_main.c701 if (init_srcu_struct(&kvm->irq_srcu)) in kvm_create_vm()
765 cleanup_srcu_struct(&kvm->irq_srcu); in kvm_create_vm()
820 cleanup_srcu_struct(&kvm->irq_srcu); in kvm_destroy_vm()
/Linux-v5.4/arch/x86/kvm/
Dirq_comm.c248 synchronize_srcu(&kvm->irq_srcu); in kvm_unregister_irq_mask_notifier()
257 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_fire_mask_notifiers()
263 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_fire_mask_notifiers()
406 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_scan_ioapic_routes()
407 table = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_scan_ioapic_routes()
424 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_scan_ioapic_routes()
Dhyperv.c181 idx = srcu_read_lock(&kvm->irq_srcu); in kvm_hv_notify_acked_sint()
185 srcu_read_unlock(&kvm->irq_srcu, idx); in kvm_hv_notify_acked_sint()
372 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_hv_irq_routing_update()
Dsvm.c5283 idx = srcu_read_lock(&kvm->irq_srcu); in svm_update_pi_irte()
5284 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in svm_update_pi_irte()
5365 srcu_read_unlock(&kvm->irq_srcu, idx); in svm_update_pi_irte()
/Linux-v5.4/include/linux/
Dkvm_host.h502 struct srcu_struct irq_srcu; member
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c7439 idx = srcu_read_lock(&kvm->irq_srcu); in vmx_update_pi_irte()
7440 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in vmx_update_pi_irte()
7505 srcu_read_unlock(&kvm->irq_srcu, idx); in vmx_update_pi_irte()