Searched refs:msi_perm (Results 1 – 2 of 2) sorted by relevance
1250 if (vdev->msi_perm) in vfio_msi_cap_len()1253 vdev->msi_perm = kmalloc(sizeof(struct perm_bits), GFP_KERNEL_ACCOUNT); in vfio_msi_cap_len()1254 if (!vdev->msi_perm) in vfio_msi_cap_len()1257 ret = init_pci_cap_msi_perm(vdev->msi_perm, len, flags); in vfio_msi_cap_len()1259 kfree(vdev->msi_perm); in vfio_msi_cap_len()1843 if (vdev->msi_perm) { in vfio_config_free()1844 free_perm_bits(vdev->msi_perm); in vfio_config_free()1845 kfree(vdev->msi_perm); in vfio_config_free()1846 vdev->msi_perm = NULL; in vfio_config_free()1922 perm = vdev->msi_perm; in vfio_config_do_rw()
59 struct perm_bits *msi_perm; member