Searched refs:log_ops (Results 1 – 6 of 6) sorted by relevance
1006 if (!device->log_ops) in vfio_ioctl_device_feature_logging_start()1059 ret = device->log_ops->log_start(device, &root, nnodes, in vfio_ioctl_device_feature_logging_start()1066 device->log_ops->log_stop(device); in vfio_ioctl_device_feature_logging_start()1081 if (!device->log_ops) in vfio_ioctl_device_feature_logging_stop()1089 return device->log_ops->log_stop(device); in vfio_ioctl_device_feature_logging_stop()1098 return device->log_ops->log_read_and_clear(device, iova, length, iter); in vfio_device_log_read_and_clear()1114 if (!device->log_ops) in vfio_ioctl_device_feature_logging_report()
192 const struct vfio_log_ops *log_ops);
202 const struct vfio_log_ops *log_ops) in mlx5vf_cmd_set_migratable() argument250 mvdev->core_device.vdev.log_ops = log_ops; in mlx5vf_cmd_set_migratable()
163 vdev->log_ops = &pds_vfio_log_ops; in pds_vfio_init_device()
45 const struct vfio_log_ops *log_ops; member
2228 if (vdev->vdev.log_ops && !(vdev->vdev.log_ops->log_start && in vfio_pci_core_register_device()2229 vdev->vdev.log_ops->log_stop && in vfio_pci_core_register_device()2230 vdev->vdev.log_ops->log_read_and_clear)) in vfio_pci_core_register_device()