Home
last modified time | relevance | path

Searched refs:pqap_hook (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/s390/crypto/
Dvfio_ap_ops.c291 if (!vcpu->kvm->arch.crypto.pqap_hook) in handle_pqap()
293 matrix_mdev = container_of(vcpu->kvm->arch.crypto.pqap_hook, in handle_pqap()
294 struct ap_matrix_mdev, pqap_hook); in handle_pqap()
340 matrix_mdev->pqap_hook.hook = handle_pqap; in vfio_ap_mdev_create()
341 matrix_mdev->pqap_hook.owner = THIS_MODULE; in vfio_ap_mdev_create()
1051 kvm->arch.crypto.pqap_hook = &matrix_mdev->pqap_hook; in vfio_ap_mdev_set_kvm()
1227 matrix_mdev->kvm->arch.crypto.pqap_hook = NULL; in vfio_ap_mdev_release()
Dvfio_ap_private.h87 struct kvm_s390_module_hook pqap_hook; member
/Linux-v5.4/arch/s390/kvm/
Dpriv.c659 if (vcpu->kvm->arch.crypto.pqap_hook) { in handle_pqap()
660 if (!try_module_get(vcpu->kvm->arch.crypto.pqap_hook->owner)) in handle_pqap()
662 ret = vcpu->kvm->arch.crypto.pqap_hook->hook(vcpu); in handle_pqap()
663 module_put(vcpu->kvm->arch.crypto.pqap_hook->owner); in handle_pqap()
/Linux-v5.4/arch/s390/include/asm/
Dkvm_host.h731 struct kvm_s390_module_hook *pqap_hook; member