Searched refs:msi_perm (Results 1 – 2 of 2) sorted by relevance
1208 if (vdev->msi_perm) in vfio_msi_cap_len()1211 vdev->msi_perm = kmalloc(sizeof(struct perm_bits), GFP_KERNEL); in vfio_msi_cap_len()1212 if (!vdev->msi_perm) in vfio_msi_cap_len()1215 ret = init_pci_cap_msi_perm(vdev->msi_perm, len, flags); in vfio_msi_cap_len()1217 kfree(vdev->msi_perm); in vfio_msi_cap_len()1782 if (vdev->msi_perm) { in vfio_config_free()1783 free_perm_bits(vdev->msi_perm); in vfio_config_free()1784 kfree(vdev->msi_perm); in vfio_config_free()1785 vdev->msi_perm = NULL; in vfio_config_free()1853 perm = vdev->msi_perm; in vfio_config_do_rw()
108 struct perm_bits *msi_perm; member