Searched refs:pci_saved_state (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/vfio/pci/
H A Dvfio_pci_private.h60 struct pci_saved_state *pci_saved_state; member in struct:vfio_pci_device
H A Dvfio_pci.c133 vdev->pci_saved_state = pci_store_saved_state(pdev); vfio_pci_enable()
134 if (!vdev->pci_saved_state) vfio_pci_enable()
140 kfree(vdev->pci_saved_state); vfio_pci_enable()
141 vdev->pci_saved_state = NULL; vfio_pci_enable()
207 if (pci_load_and_free_saved_state(pdev, &vdev->pci_saved_state)) { vfio_pci_disable()
/linux-4.4.14/arch/x86/kvm/
H A Dassigned-dev.c48 struct pci_saved_state *pci_saved_state; member in struct:kvm_assigned_dev_kernel
358 &assigned_dev->pci_saved_state)) kvm_free_assigned_device()
766 match->pci_saved_state = pci_store_saved_state(dev); kvm_vm_ioctl_assign_device()
767 if (!match->pci_saved_state) kvm_vm_ioctl_assign_device()
802 if (pci_load_and_free_saved_state(dev, &match->pci_saved_state)) kvm_vm_ioctl_assign_device()
/linux-4.4.14/drivers/xen/xen-pciback/
H A Dpciback.h45 struct pci_saved_state *pci_saved_state; member in struct:xen_pcibk_dev_data
H A Dpci_stub.c107 if (pci_load_and_free_saved_state(dev, &dev_data->pci_saved_state)) pcistub_device_release()
287 ret = pci_load_saved_state(dev, dev_data->pci_saved_state); pcistub_put_pci_dev()
413 dev_data->pci_saved_state = pci_store_saved_state(dev); pcistub_init_device()
414 if (!dev_data->pci_saved_state) pcistub_init_device()
/linux-4.4.14/drivers/pci/
H A Dpci.c1146 struct pci_saved_state { struct
1158 struct pci_saved_state *pci_store_saved_state(struct pci_dev *dev) pci_store_saved_state()
1160 struct pci_saved_state *state; pci_store_saved_state()
1198 struct pci_saved_state *state) pci_load_saved_state()
1235 struct pci_saved_state **state) pci_load_and_free_saved_state()
/linux-4.4.14/include/linux/
H A Dpci.h1052 struct pci_saved_state *pci_store_saved_state(struct pci_dev *dev);
1054 struct pci_saved_state *state);
1056 struct pci_saved_state **state);

Completed in 222 milliseconds