Lines Matching full:umem
393 vq->umem = NULL; in vhost_vq_reset()
594 dev->umem = NULL; in vhost_dev_init()
1154 void vhost_dev_reset_owner(struct vhost_dev *dev, struct vhost_iotlb *umem) in vhost_dev_reset_owner() argument
1161 dev->umem = umem; in vhost_dev_reset_owner()
1166 dev->vqs[i]->umem = umem; in vhost_dev_reset_owner()
1221 vhost_iotlb_free(dev->umem); in vhost_dev_cleanup()
1222 dev->umem = NULL; in vhost_dev_cleanup()
1258 static bool vq_memory_access_ok(void __user *log_base, struct vhost_iotlb *umem, in vq_memory_access_ok() argument
1263 if (!umem) in vq_memory_access_ok()
1266 list_for_each_entry(map, &umem->list, link) { in vq_memory_access_ok()
1297 static bool memory_access_ok(struct vhost_dev *d, struct vhost_iotlb *umem, in memory_access_ok() argument
1311 umem, log); in memory_access_ok()
1887 struct vhost_iotlb *umem = vq->iotlb; in iotlb_access_ok() local
1894 map = vhost_iotlb_itree_first(umem, addr, last); in iotlb_access_ok()
1938 return memory_access_ok(dev, dev->umem, 1); in vhost_log_access_ok()
1961 return vq_memory_access_ok(log_base, vq->umem, in vq_log_access_ok()
2025 oldumem = d->umem; in vhost_set_memory()
2026 d->umem = newumem; in vhost_set_memory()
2031 d->vqs[i]->umem = newumem; in vhost_set_memory()
2482 struct vhost_iotlb *umem = vq->umem; in log_write_hva() local
2493 list_for_each_entry(u, &umem->list, link) { in log_write_hva()
2666 struct vhost_iotlb *umem = dev->iotlb ? dev->iotlb : dev->umem; in translate_desc() local
2678 map = vhost_iotlb_itree_first(umem, addr, last); in translate_desc()
2680 if (umem != dev->iotlb) { in translate_desc()