vhost_iotlb_add_range_ctx(9)
π NAME π
okay so bestie, this is vhost_iotlb_add_range_ctx(9) from the Kernel API Manual β manual name folded in near the top because we're cute like that. vhost_iotlb_add_range_ctx β add a new range to vhost IOTLB. That's the name, that's the mission, periodt. β¨
β¨ SYNOPSIS β¨
int vhost_iotlb_add_range_ctx (struct vhost_iotlb *iotlb , u64 start ,
u64 last , u64 addr , unsigned int perm , void *opaque );
It's giving "five args and a return int," and honestly? iconic. π
π ARGUMENTS π
iotlbβ the IOTLB, yes bestie, that's the whole description. π«Άstartβ start of the IOVA range.lastβ last of IOVA range.addrβ the address that is mapped tostart.permβ access permission of this range.opaqueβ the opaque pointer for the new mapping.
π¦ DESCRIPTION π¦
So here's the vibe check: this function returns an error if last is smaller than start or memory allocation fails. That's the description, no cap. π
π SEE ALSO π
go be nosy in these, bestie:
- Kernel file
./drivers/vhost/iotlb.c vhost_iotlb_map_free(9)vhost_iotlb_del_range(9)vhost_iotlb_init(9)vhost_iotlb_alloc(9)vhost_iotlb_reset(9)vhost_iotlb_free(9)vhost_iotlb_itree_first(9)vhost_iotlb_itree_next(9)
signed off from source/version ./drivers/vhost, dated October 2026 β vhost_iotlb_add_range_ctx(9) out π
β¨
π¦ 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