Home
last modified time | relevance | path

Searched refs:aift (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/s390/kvm/
Dpci.c19 struct zpci_aift *aift; variable
33 lockdep_assert_held(&aift->aift_lock); in kvm_s390_pci_aen_exit()
42 spin_lock_irqsave(&aift->gait_lock, flags); in kvm_s390_pci_aen_exit()
43 gait_kzdev = aift->kzdev; in kvm_s390_pci_aen_exit()
44 aift->gait = NULL; in kvm_s390_pci_aen_exit()
45 aift->sbv = NULL; in kvm_s390_pci_aen_exit()
46 aift->kzdev = NULL; in kvm_s390_pci_aen_exit()
47 spin_unlock_irqrestore(&aift->gait_lock, flags); in kvm_s390_pci_aen_exit()
61 aift->sbv = airq_iv_create(ZPCI_NR_DEVICES, AIRQ_IV_ALLOC, NULL); in zpci_setup_aipb()
62 if (!aift->sbv) { in zpci_setup_aipb()
[all …]
Dpci.h44 extern struct zpci_aift *aift;
46 static inline struct kvm *kvm_s390_pci_si_to_kvm(struct zpci_aift *aift, in kvm_s390_pci_si_to_kvm() argument
49 if (!IS_ENABLED(CONFIG_VFIO_PCI_ZDEV_KVM) || !aift->kzdev || in kvm_s390_pci_si_to_kvm()
50 !aift->kzdev[si]) in kvm_s390_pci_si_to_kvm()
52 return aift->kzdev[si]->kvm; in kvm_s390_pci_si_to_kvm()
Dinterrupt.c3322 gaite = (struct zpci_gaite *)aift->gait + in aen_host_forward()
3329 kvm = kvm_s390_pci_si_to_kvm(aift, si); in aen_host_forward()
3350 spin_lock_irqsave(&aift->gait_lock, flags); in aen_process_gait()
3352 if (!aift->gait) { in aen_process_gait()
3353 spin_unlock_irqrestore(&aift->gait_lock, flags); in aen_process_gait()
3359 si = airq_iv_scan(aift->sbv, si, airq_iv_end(aift->sbv)); in aen_process_gait()
3379 spin_unlock_irqrestore(&aift->gait_lock, flags); in aen_process_gait()
3408 if (kvm_s390_pci_interp_allowed() && aift) { in kvm_s390_gib_destroy()
3409 mutex_lock(&aift->aift_lock); in kvm_s390_gib_destroy()
3411 mutex_unlock(&aift->aift_lock); in kvm_s390_gib_destroy()