Searched refs:mig_state (Results 1 – 4 of 4) sorted by relevance
413 if (mvdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY && in mlx5vf_precopy_ioctl()414 mvdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY_P2P) { in mlx5vf_precopy_ioctl()424 if (mvdev->mig_state == VFIO_DEVICE_STATE_PRE_COPY) { in mlx5vf_precopy_ioctl()1038 u32 cur = mvdev->mig_state; in mlx5vf_pci_step_device_state_locked()1157 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_state_mutex_unlock()1176 while (new_state != mvdev->mig_state) { in mlx5vf_pci_set_device_state()1177 ret = vfio_mig_get_next_state(vdev, mvdev->mig_state, in mlx5vf_pci_set_device_state()1186 mvdev->mig_state = next_state; in mlx5vf_pci_set_device_state()1187 if (WARN_ON(res && new_state != mvdev->mig_state)) { in mlx5vf_pci_set_device_state()1221 *curr_state = mvdev->mig_state; in mlx5vf_pci_get_device_state()[all …]
170 enum vfio_device_mig_state mig_state; member
646 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vf_state_mutex_unlock()787 if (hisi_acc_vdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY) { in hisi_acc_vf_precopy_ioctl()954 u32 cur = hisi_acc_vdev->mig_state; in hisi_acc_vf_set_device_state()1052 while (new_state != hisi_acc_vdev->mig_state) { in hisi_acc_vfio_pci_set_device_state()1054 hisi_acc_vdev->mig_state, in hisi_acc_vfio_pci_set_device_state()1064 hisi_acc_vdev->mig_state = next_state; in hisi_acc_vfio_pci_set_device_state()1065 if (WARN_ON(res && new_state != hisi_acc_vdev->mig_state)) { in hisi_acc_vfio_pci_set_device_state()1091 *curr_state = hisi_acc_vdev->mig_state; in hisi_acc_vfio_pci_get_device_state()1319 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vfio_pci_open_device()
105 enum vfio_device_mig_state mig_state; member
Completed in 10 milliseconds