vringh_iov_pull_user(9)
π vringh_iov_pull_user π
okay bestie, so you know how this page lives in the Kernel API Manual? yeah. that's the world we're in. kernel-land. grab your iced coffee π§β because this one's short and sweet and honestly iconic of it.
β¨ NAME β¨
vringh_iov_pull_user β copy bytes from vring_iov. that's the whole vibe. it copies bytes. from the vring iov. slay π
πΈ SYNOPSIS πΈ
ssize_t vringh_iov_pull_user (struct vringh_iov *riov , void *dst ,
size_t len );
π¦ ARGUMENTS π¦
riovβ theriovas passed tovringh_getdesc_user(updated as we consume). like, it changes as it goes, bestie β this thing is not read-only, it's giving main character energy and it mutates πdstβ the place to copy. where the bytes land. that's the spot. the destination. the moment.lenβ the maximum length to copy. maximum, ok? not a promise, a ceiling. respect the ceiling π
π DESCRIPTION π
Returns the bytes copied <= len or a negative errno. that's it. that's the whole function. it gives you a number back β either a happy little count that is less than or equal to len, or a negative errno that says nope π
ngl, keep an eye on that return value β negative means things went sideways, and errno is the one telling you why π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/vhost/vringh.c β go read it, iykyk β¨
and the whole friend group, in this exact order because we're not doing chaos today:
vringh_kiov_advance(9), vringh_init_user(9), vringh_getdesc_user(9), vringh_iov_push_user(9), vringh_complete_user(9), vringh_complete_multi_user(9), vringh_notify_enable_user(9), vringh_notify_disable_user(9), vringh_need_notify_user(9), vringh_init_kern(9), vringh_getdesc_kern(9), vringh_complete_kern(9), vringh_notify_enable_kern(9), vringh_notify_disable_kern(9), vringh_need_notify_kern(9), vringh_init_iotlb(9), vringh_init_iotlb_va(9), vringh_set_iotlb(9), vringh_getdesc_iotlb(9), vringh_iov_pull_iotlb(9), vringh_iov_push_iotlb(9), vringh_complete_iotlb(9), vringh_need_notify_iotlb(9)
mwah π that's the page! it comes from ./drivers/vhost, dated October 2026, and it's filed under vringh_iov_pull_user(9) β go forth and copy those bytes, bestie, you're literally gonna ate it ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms