Lines Matching refs:iotlb

331 	vq->iotlb = NULL;  in vhost_vq_reset()
474 dev->iotlb = NULL; in vhost_dev_init()
703 vhost_iotlb_free(dev->iotlb); in vhost_dev_cleanup()
704 dev->iotlb = NULL; in vhost_dev_cleanup()
814 if (!vq->iotlb) in vhost_copy_to_user()
849 if (!vq->iotlb) in vhost_copy_from_user()
930 if (!vq->iotlb) { \
975 if (!vq->iotlb) { \
1055 struct vhost_iotlb_msg *vq_msg = &node->msg.iotlb; in vhost_iotlb_notify_vq()
1097 if (!dev->iotlb) { in vhost_process_iotlb_msg()
1106 if (vhost_iotlb_add_range(dev->iotlb, msg->iova, in vhost_process_iotlb_msg()
1115 if (!dev->iotlb) { in vhost_process_iotlb_msg()
1120 vhost_iotlb_del_range(dev->iotlb, msg->iova, in vhost_process_iotlb_msg()
1152 offset = offsetof(struct vhost_msg, iotlb) - sizeof(int); in vhost_chr_write_iter()
1242 if (!dev->iotlb) { in vhost_chr_read_iter()
1260 msg = &node->msg.iotlb; in vhost_chr_read_iter()
1264 msg = &node->msg_v2.iotlb; in vhost_chr_read_iter()
1296 msg = &node->msg_v2.iotlb; in vhost_iotlb_miss()
1298 msg = &node->msg.iotlb; in vhost_iotlb_miss()
1318 if (vq->iotlb) in vq_access_ok()
1341 struct vhost_iotlb *umem = vq->iotlb; in iotlb_access_ok()
1375 if (!vq->iotlb) in vq_meta_prefetch()
1403 if (vq->iotlb) in vq_log_used_access_ok()
1741 oiotlb = d->iotlb; in vhost_init_device_iotlb()
1742 d->iotlb = niotlb; in vhost_init_device_iotlb()
1748 vq->iotlb = niotlb; in vhost_init_device_iotlb()
1924 if (!vq->iotlb) in log_used()
1950 if (vq->iotlb) { in vhost_log_write()
2029 if (!vq->iotlb && in vhost_vq_init_access()
2054 struct vhost_iotlb *umem = dev->iotlb ? dev->iotlb : dev->umem; in translate_desc()
2068 if (umem != dev->iotlb) { in translate_desc()