Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/drivers/vhost/
Dvringh.c135 bool (*getrange)(struct vringh *, in range_check()
139 if (!getrange(vrh, addr, range)) in range_check()
169 bool (*getrange)(struct vringh *, in no_range_check()
249 bool (*getrange)(struct vringh *vrh, in slow_copy()
252 bool (*getrange)(struct vringh *vrh, in slow_copy()
268 if (!rcheck(vrh, addr, &part, range, getrange)) in slow_copy()
288 bool (*getrange)(struct vringh *, u64, in __vringh_iov()
290 bool (*getrange)(struct vringh *, u64, struct vringh_range *), in __vringh_iov()
320 err = slow_copy(vrh, &desc, &descs[i], rcheck, getrange, in __vringh_iov()
333 if (!rcheck(vrh, a, &len, &range, getrange)) { in __vringh_iov()
[all …]
/linux-5.19.10/include/linux/
Dvringh.h145 bool (*getrange)(struct vringh *vrh,