Home
last modified time | relevance | path

Searched refs:getrange (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/tools/virtio/
Dvringh_test.c137 bool (*getrange)(struct vringh *vrh, in parallel_test()
227 getrange, &head); in parallel_test()
452 bool (*getrange)(struct vringh *vrh, u64 addr, struct vringh_range *r); in main() local
455 getrange = getrange_iov; in main()
467 getrange = getrange_slow; in main()
478 return parallel_test(vdev.features, getrange, fast_vringh); in main()
497 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
521 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
528 if (getrange != getrange_slow) { in main()
590 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
[all …]
/Linux-v5.10/drivers/vhost/
Dvringh.c118 bool (*getrange)(struct vringh *, in range_check()
122 if (!getrange(vrh, addr, range)) in range_check()
152 bool (*getrange)(struct vringh *, in no_range_check()
231 bool (*getrange)(struct vringh *vrh, in slow_copy()
234 bool (*getrange)(struct vringh *vrh, in slow_copy()
250 if (!rcheck(vrh, addr, &part, range, getrange)) in slow_copy()
270 bool (*getrange)(struct vringh *, u64, in __vringh_iov()
272 bool (*getrange)(struct vringh *, u64, struct vringh_range *), in __vringh_iov()
302 err = slow_copy(vrh, &desc, &descs[i], rcheck, getrange, in __vringh_iov()
315 if (!rcheck(vrh, a, &len, &range, getrange)) { in __vringh_iov()
[all …]
/Linux-v5.10/include/linux/
Dvringh.h141 bool (*getrange)(struct vringh *vrh,