Lines Matching refs:iotlb
43 "Maximum number of iotlb entries. (default: 2048)");
339 vq->iotlb = NULL;
482 dev->iotlb = NULL;
712 vhost_iotlb_free(dev->iotlb);
713 dev->iotlb = NULL;
823 if (!vq->iotlb)
826 /* This function should be called after iotlb
828 * could be access through iotlb. So -EAGAIN should
858 if (!vq->iotlb)
861 /* This function should be called after iotlb
863 * could be access through iotlb. So -EAGAIN should
919 /* This function should be called after iotlb
921 * could be access through iotlb. So -EAGAIN should
939 if (!vq->iotlb) { \
984 if (!vq->iotlb) { \
1064 struct vhost_iotlb_msg *vq_msg = &node->msg.iotlb;
1103 if (!dev->iotlb) {
1112 if (vhost_iotlb_add_range(dev->iotlb, msg->iova,
1121 if (!dev->iotlb) {
1126 vhost_iotlb_del_range(dev->iotlb, msg->iova,
1157 offset = offsetof(struct vhost_msg, iotlb) - sizeof(int);
1231 if (!dev->iotlb) {
1249 msg = &node->msg.iotlb;
1253 msg = &node->msg_v2.iotlb;
1285 msg = &node->msg_v2.iotlb;
1287 msg = &node->msg.iotlb;
1307 if (vq->iotlb)
1330 struct vhost_iotlb *umem = vq->iotlb;
1364 if (!vq->iotlb)
1392 if (vq->iotlb)
1738 oiotlb = d->iotlb;
1739 d->iotlb = niotlb;
1745 vq->iotlb = niotlb;
1921 if (!vq->iotlb)
1947 if (vq->iotlb) {
2026 if (!vq->iotlb &&
2051 struct vhost_iotlb *umem = dev->iotlb ? dev->iotlb : dev->umem;
2065 if (umem != dev->iotlb) {