Searched refs:log_ops (Results 1 – 5 of 5) sorted by relevance
1317 if (!device->log_ops) in vfio_ioctl_device_feature_logging_start()1370 ret = device->log_ops->log_start(device, &root, nnodes, in vfio_ioctl_device_feature_logging_start()1377 device->log_ops->log_stop(device); in vfio_ioctl_device_feature_logging_start()1392 if (!device->log_ops) in vfio_ioctl_device_feature_logging_stop()1400 return device->log_ops->log_stop(device); in vfio_ioctl_device_feature_logging_stop()1409 return device->log_ops->log_read_and_clear(device, iova, length, iter); in vfio_device_log_read_and_clear()1425 if (!device->log_ops) in vfio_ioctl_device_feature_logging_report()
122 const struct vfio_log_ops *log_ops);
130 const struct vfio_log_ops *log_ops) in mlx5vf_cmd_set_migratable() argument174 mvdev->core_device.vdev.log_ops = log_ops; in mlx5vf_cmd_set_migratable()
41 const struct vfio_log_ops *log_ops; member
2136 if (vdev->vdev.log_ops && !(vdev->vdev.log_ops->log_start && in vfio_pci_core_register_device()2137 vdev->vdev.log_ops->log_stop && in vfio_pci_core_register_device()2138 vdev->vdev.log_ops->log_read_and_clear)) in vfio_pci_core_register_device()