Lines Matching refs:iotlb
224 struct vhost_iotlb *iotlb)
240 for (map = vhost_iotlb_itree_first(iotlb, mr->start, mr->end - 1);
256 for (map = vhost_iotlb_itree_first(iotlb, mr->start, mr->end - 1);
309 struct vhost_iotlb *iotlb)
330 err = map_direct_mr(mvdev, dmr, iotlb);
354 /* The iotlb pointer contains a list of maps. Go over the maps, possibly
358 * by iotlb.
362 struct vhost_iotlb *iotlb)
376 for (map = vhost_iotlb_itree_first(iotlb, start, last); map;
391 err = add_direct_chain(mvdev, mr, ps, pe - ps, pperm, iotlb);
400 err = add_direct_chain(mvdev, mr, ps, pe - ps, pperm, iotlb);
481 static void prune_iotlb(struct vhost_iotlb *iotlb)
483 vhost_iotlb_del_range(iotlb, 0, ULLONG_MAX);
509 vhost_iotlb_free(mr->iotlb);
587 prune_iotlb(mvdev->cvq.iotlb);
594 struct vhost_iotlb *iotlb)
598 if (iotlb)
599 err = create_user_mr(mvdev, mr, iotlb);
606 mr->iotlb = vhost_iotlb_alloc(0, 0);
607 if (!mr->iotlb) {
612 err = dup_iotlb(mr->iotlb, iotlb);
621 vhost_iotlb_free(mr->iotlb);
624 if (iotlb)
633 struct vhost_iotlb *iotlb)
643 err = _mlx5_vdpa_create_mr(mvdev, mr, iotlb);
659 struct vhost_iotlb *iotlb,
669 prune_iotlb(mvdev->cvq.iotlb);
670 err = dup_iotlb(mvdev->cvq.iotlb, iotlb);