vringh_iov_push_user(9)
π vringh_iov_push_user π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the vhost/vringh corner of the kernel and honestly? she's a whole vibe. let's get into it π«Ά
β¨ NAME β¨
vringh_iov_push_user β literally copies bytes into a vring_iov. that's the whole job. main character energy, minimal dramatics π
πΈ SYNOPSIS πΈ
ssize_t vringh_iov_push_user (struct vringh_iov *wiov , const void *src
, size_t len );
ngl the signature is giving "three args and a dream" π
π¦ ARGUMENTS π¦
wiovβ thewiovas passed tovringh_getdesc_user(updated as we consume). yes bestie, it gets mutated in place as the function eats through it, so don't act surprised πsrcβ the place to copy from. your source. your origin story πlenβ the maximum length to copy. emphasis on maximum, she will not overshoot π₯
β DESCRIPTION β
Returns the bytes copied <= len or a negative errno. that's it, that's the paragraph π so like β you get back a count that is less than or equal to len, OR you get a negative errno if things went sideways. slay either way π
π SEE ALSO π
the whole fam, no cap β this list is long and every single one of them stays:
- Kernel file
./drivers/vhost/vringh.cπ vringh_kiov_advance(9)vringh_init_user(9)vringh_getdesc_user(9)vringh_iov_pull_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)
like I said. the whole fam. iykyk π§
aaaand that's the page!! π this lil icon lives in ./drivers/vhost and the docs are dated October 2026 β so like, future-coded of them tbh π go push some bytes bestie, you got this β¨π
π¦ 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