vringh_complete_user(9)
π« vringh_complete_user(9) π«
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, and yes it's giving "official business" energy, but we're gonna get through it together π«Ά This one's all about vringh_complete_user(9) and honestly? It's a lil icon.
β¨ NAME β¨
vringh_complete_user β we've finished with descriptor, publish it. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
int vringh_complete_user (struct vringh *vrh , u16 head , u32 len );
π ARGUMENTS π
vrhβ the vring. the main character of this whole operation, lowkey πheadβ the head as filled in byvringh_getdesc_user. like, hand back the exact head you got handed, no improvising β¨lenβ the length of data we have written. how much you actually put in there, fr fr π
π¦ DESCRIPTION π¦
You should check vringh_need_notify_user after one or more calls to this function. no cap β one call, several calls, doesn't matter, you still gotta do the vibe check afterwards π
and yes, "one or more calls" means you can absolutely stack these up and check once at the end. slay. just don't forget the check entirely π
π SEE ALSO π
Kernel file ./drivers/vhost/vringh.c and its whole friend group β they ate, honestly:
vringh_kiov_advance(9)vringh_init_user(9)vringh_getdesc_user(9)vringh_iov_pull_user(9)vringh_iov_push_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)
okay that's a wrap bestie!! this page lives in ./drivers/vhost and it's dated October 2026, version vringh_complete_user(9) β go forth and publish those descriptors πβ¨ππ¦πΈ
π¦ 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