Lines Matching refs:iotlb
43 "Maximum number of iotlb entries. (default: 2048)");
389 vq->iotlb = NULL;
518 dev->iotlb = NULL;
991 vhost_iotlb_free(dev->iotlb);
992 dev->iotlb = NULL;
1097 if (!vq->iotlb)
1100 /* This function should be called after iotlb
1102 * could be access through iotlb. So -EAGAIN should
1132 if (!vq->iotlb)
1135 /* This function should be called after iotlb
1137 * could be access through iotlb. So -EAGAIN should
1193 /* This function should be called after iotlb
1195 * could be access through iotlb. So -EAGAIN should
1213 if (!vq->iotlb) { \
1258 if (!vq->iotlb) { \
1338 struct vhost_iotlb_msg *vq_msg = &node->msg.iotlb;
1380 if (!dev->iotlb) {
1389 if (vhost_iotlb_add_range(dev->iotlb, msg->iova,
1398 if (!dev->iotlb) {
1403 vhost_iotlb_del_range(dev->iotlb, msg->iova,
1435 offset = offsetof(struct vhost_msg, iotlb) - sizeof(int);
1523 if (!dev->iotlb) {
1541 msg = &node->msg.iotlb;
1545 msg = &node->msg_v2.iotlb;
1577 msg = &node->msg_v2.iotlb;
1579 msg = &node->msg.iotlb;
1599 if (vq->iotlb)
1622 struct vhost_iotlb *umem = vq->iotlb;
1656 if (!vq->iotlb)
1684 if (vq->iotlb)
2024 oiotlb = d->iotlb;
2025 d->iotlb = niotlb;
2031 vq->iotlb = niotlb;
2207 if (!vq->iotlb)
2233 if (vq->iotlb) {
2312 if (!vq->iotlb &&
2337 struct vhost_iotlb *umem = dev->iotlb ? dev->iotlb : dev->umem;
2351 if (umem != dev->iotlb) {