Home
last modified time | relevance | path

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

/linux-6.12.1/tools/virtio/
Dvringh_test.c137 bool (*getrange)(struct vringh *vrh, in parallel_test()
230 getrange, &head); in parallel_test()
456 bool (*getrange)(struct vringh *vrh, u64 addr, struct vringh_range *r); in main() local
459 getrange = getrange_iov; in main()
472 getrange = getrange_slow; in main()
483 return parallel_test(vdev.features, getrange, fast_vringh); in main()
502 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
526 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
533 if (getrange != getrange_slow) { in main()
595 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
[all …]
/linux-6.12.1/drivers/vhost/
Dvringh.c145 bool (*getrange)(struct vringh *, in range_check()
149 if (!getrange(vrh, addr, range)) in range_check()
179 bool (*getrange)(struct vringh *, in no_range_check()
259 bool (*getrange)(struct vringh *vrh, in slow_copy()
262 bool (*getrange)(struct vringh *vrh, in slow_copy()
278 if (!rcheck(vrh, addr, &part, range, getrange)) in slow_copy()
298 bool (*getrange)(struct vringh *, u64, in __vringh_iov()
300 bool (*getrange)(struct vringh *, u64, struct vringh_range *), in __vringh_iov()
330 err = slow_copy(vrh, &desc, &descs[i], rcheck, getrange, in __vringh_iov()
343 if (!rcheck(vrh, a, &len, &range, getrange)) { in __vringh_iov()
[all …]
/linux-6.12.1/include/linux/
Dvringh.h161 bool (*getrange)(struct vringh *vrh,