Searched refs:msi_perm (Results 1 – 2 of 2) sorted by relevance
1246 if (vdev->msi_perm) in vfio_msi_cap_len()1249 vdev->msi_perm = kmalloc(sizeof(struct perm_bits), GFP_KERNEL_ACCOUNT); in vfio_msi_cap_len()1250 if (!vdev->msi_perm) in vfio_msi_cap_len()1253 ret = init_pci_cap_msi_perm(vdev->msi_perm, len, flags); in vfio_msi_cap_len()1255 kfree(vdev->msi_perm); in vfio_msi_cap_len()1839 if (vdev->msi_perm) { in vfio_config_free()1840 free_perm_bits(vdev->msi_perm); in vfio_config_free()1841 kfree(vdev->msi_perm); in vfio_config_free()1842 vdev->msi_perm = NULL; in vfio_config_free()1910 perm = vdev->msi_perm; in vfio_config_do_rw()
59 struct perm_bits *msi_perm; member