vringh_complete_kern(9)
π vringh_complete_kern(9) β your fave kernel API manual, now with β¨personalityβ¨
okay so bestie, welcome to the vringh_complete_kern(9) page from the Kernel API Manual β like, the actual kernel manual, but make it make sense. create the moment. π
β¨ NAME β¨
vringh_complete_kern β we've finished with this descriptor, so we publish it. slay, it's done, we're releasing it into the world. π¦
β¨ SYNOPSIS β¨
int vringh_complete_kern (struct vringh *vrh , u16 head , u32 len );
like, that's the whole vibe. it returns an int, it takes three things, and it's lowkey iconic for it. π₯
β¨ ARGUMENTS β¨
vrhβ the vring. that's it. that's the whole description. she's the ring. main character energy. πheadβ the head, exactly as it was filled in byvringh_getdesc_kern. no cap, use the value that came from there β don't go inventing your own. πlenβ the length of the data we have written. like, how much we actually wrote. π
β¨ DESCRIPTION β¨
so after you call this function (one time, or multiple times β she's not gatekeeping, call her however many times you need), you should check vringh_need_notify_kern. fr fr, that's the move. π«Ά
like, that's genuinely the whole instruction. do the completing, then go check vringh_need_notify_kern. iykyk. π
β¨ SEE ALSO β¨
the kernel file ./drivers/vhost/vringh.c β and also, literally, all of these besties:
vringh_kiov_advance(9)vringh_init_user(9)vringh_getdesc_user(9)vringh_iov_pull_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_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)
that's the whole friend group. go read them, they each ate. π
πΈ signing off πΈ
this lil page lives in ./drivers/vhost, dated October 2026, and it's brought to you by vringh_complete_kern(9) β the one and only. take care of her, check vringh_need_notify_kern, and drink some water. mwah. ππβ¨
π¦ 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