Home
last modified time | relevance | path

Searched refs:mig_state (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/
H A Dmain.c413 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()
1032 u32 cur = mvdev->mig_state; in mlx5vf_pci_step_device_state_locked()
1151 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_state_mutex_unlock()
1170 while (new_state != mvdev->mig_state) { in mlx5vf_pci_set_device_state()
1171 ret = vfio_mig_get_next_state(vdev, mvdev->mig_state, in mlx5vf_pci_set_device_state()
1180 mvdev->mig_state = next_state; in mlx5vf_pci_set_device_state()
1181 if (WARN_ON(res && new_state != mvdev->mig_state)) { in mlx5vf_pci_set_device_state()
1215 *curr_state = mvdev->mig_state; in mlx5vf_pci_get_device_state()
[all...]
H A Dcmd.h170 enum vfio_device_mig_state mig_state; member
/kernel/linux/linux-6.6/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c646 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vf_state_mutex_unlock()
788 if (hisi_acc_vdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY) { in hisi_acc_vf_precopy_ioctl()
957 u32 cur = hisi_acc_vdev->mig_state; in hisi_acc_vf_set_device_state()
1055 while (new_state != hisi_acc_vdev->mig_state) { in hisi_acc_vfio_pci_set_device_state()
1057 hisi_acc_vdev->mig_state, in hisi_acc_vfio_pci_set_device_state()
1067 hisi_acc_vdev->mig_state = next_state; in hisi_acc_vfio_pci_set_device_state()
1068 if (WARN_ON(res && new_state != hisi_acc_vdev->mig_state)) { in hisi_acc_vfio_pci_set_device_state()
1094 *curr_state = hisi_acc_vdev->mig_state; in hisi_acc_vfio_pci_get_device_state()
1322 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vfio_pci_open_device()
H A Dhisi_acc_vfio_pci.h105 enum vfio_device_mig_state mig_state; member

Completed in 5 milliseconds