Home
last modified time | relevance | path

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

/openbmc/linux/arch/s390/kvm/
H A Dpci.c19 struct zpci_aift *aift; variable
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()
62 if (!aift->sbv) { in zpci_setup_aipb()
125 if (aift->gait || aift->sbv) in kvm_s390_pci_aen_init()
131 if (!aift->kzdev) { in kvm_s390_pci_aen_init()
152 kfree(aift->kzdev); in kvm_s390_pci_aen_init()
684 if (!aift) in kvm_s390_pci_init()
[all …]
H A 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()
H A Dinterrupt.c3332 gaite = (struct zpci_gaite *)aift->gait + in aen_host_forward()
3339 kvm = kvm_s390_pci_si_to_kvm(aift, si); in aen_host_forward()
3360 spin_lock_irqsave(&aift->gait_lock, flags); in aen_process_gait()
3362 if (!aift->gait) { in aen_process_gait()
3363 spin_unlock_irqrestore(&aift->gait_lock, flags); in aen_process_gait()
3369 si = airq_iv_scan(aift->sbv, si, airq_iv_end(aift->sbv)); in aen_process_gait()
3389 spin_unlock_irqrestore(&aift->gait_lock, flags); in aen_process_gait()
3417 if (kvm_s390_pci_interp_allowed() && aift) { in kvm_s390_gib_destroy()
3418 mutex_lock(&aift->aift_lock); in kvm_s390_gib_destroy()
3420 mutex_unlock(&aift->aift_lock); in kvm_s390_gib_destroy()