Lines Matching refs:iotlb
327 vq->iotlb = NULL; in vhost_vq_reset()
467 dev->iotlb = NULL; in vhost_dev_init()
677 vhost_umem_clean(dev->iotlb); in vhost_dev_cleanup()
678 dev->iotlb = NULL; in vhost_dev_cleanup()
784 if (!vq->iotlb) in vhost_copy_to_user()
819 if (!vq->iotlb) in vhost_copy_from_user()
900 if (!vq->iotlb) { \
945 if (!vq->iotlb) { \
1066 struct vhost_iotlb_msg *vq_msg = &node->msg.iotlb; in vhost_iotlb_notify_vq()
1105 if (!dev->iotlb) { in vhost_process_iotlb_msg()
1114 if (vhost_new_umem_range(dev->iotlb, msg->iova, msg->size, in vhost_process_iotlb_msg()
1123 if (!dev->iotlb) { in vhost_process_iotlb_msg()
1128 vhost_del_umem_range(dev->iotlb, msg->iova, in vhost_process_iotlb_msg()
1159 offset = offsetof(struct vhost_msg, iotlb) - sizeof(int); in vhost_chr_write_iter()
1228 if (!dev->iotlb) { in vhost_chr_read_iter()
1246 msg = &node->msg.iotlb; in vhost_chr_read_iter()
1250 msg = &node->msg_v2.iotlb; in vhost_chr_read_iter()
1282 msg = &node->msg_v2.iotlb; in vhost_iotlb_miss()
1284 msg = &node->msg.iotlb; in vhost_iotlb_miss()
1322 struct vhost_umem *umem = vq->iotlb; in iotlb_access_ok()
1358 if (!vq->iotlb) in vq_meta_prefetch()
1398 if (vq->iotlb) in vhost_vq_access_ok()
1730 oiotlb = d->iotlb; in vhost_init_device_iotlb()
1731 d->iotlb = niotlb; in vhost_init_device_iotlb()
1737 vq->iotlb = niotlb; in vhost_init_device_iotlb()
1915 if (!vq->iotlb) in log_used()
1941 if (vq->iotlb) { in vhost_log_write()
2020 if (!vq->iotlb && in vhost_vq_init_access()
2045 struct vhost_umem *umem = dev->iotlb ? dev->iotlb : dev->umem; in translate_desc()
2060 if (umem != dev->iotlb) { in translate_desc()