dma_buf_vunmap(9)
π dma_buf_vunmap(9)
okay so bestie, welcome to the Kernel API Manual β¨ β today's main character is dma_buf_vunmap(9), and honestly she's the cleanup queen we all need. π§Ήπ
πΈ NAME πΈ
dma_buf_vunmap β the function that unmaps a vmap you got from dma_buf_vmap. literally just undoing the map. no cap. π
β SYNOPSIS β
void dma_buf_vunmap (struct dma_buf *dmabuf , struct iosys_map *map );
like, that's the whole signature. she's short, she's sweet, she takes two pointers and returns void because she doesn't need to prove anything to anyone. π
π ARGUMENTS π
dmabufβ[in]β the buffer you wanna vunmap, bestie. this is the thing getting its map taken away. πmapβ[in]β the vmap pointer that's about to be vunmap'd. yes the name is doing a lot of work here but she's valid. π«Ά
ngl, [in] on both means you're handing these over β no sneaky out-params, no surprises. π¦
π₯ SEE ALSO π₯
the whole friend group, ok? every single one of them, in order, no skips: π
look at the kernel file ./drivers/dma-buf/dma-buf.c and also go say hi to dma_buf_iter_begin(9), dma_buf_iter_next(9), implicit fence polling(9), dma_buf_set_name(9), dma buf device access(9), dma_buf_export(9), dma_buf_fd(9), dma_buf_fd_install(9), dma_buf_get(9), dma_buf_put(9), locking convention(9), dma_buf_dynamic_attach(9), dma_buf_attach(9), dma_buf_detach(9), dma_buf_pin(9), dma_buf_unpin(9), dma_buf_map_attachment(9), dma_buf_map_attachment_unlocked(9), dma_buf_unmap_attachment(9), dma_buf_unmap_attachment_unlocked(9), dma_buf_attach_revocable(9), dma_buf_invalidate_mappings(9), cpu access(9), dma_buf_begin_cpu_access(9), dma_buf_end_cpu_access(9), dma_buf_mmap(9), dma_buf_vmap(9), dma_buf_vmap_unlocked(9), and last but never least dma_buf_vunmap_unlocked(9) π
like. that's the entire group chat. iykyk. π
and that's the page!! mwah π
shoutout to <rainbow>./drivers/dma-buf</rainbow> for being the source, <hotpink>October 2026</hotpink> for the date, and dma_buf_vunmap(9) for being the icon she is β go unmap responsibly, bestie, and remember: you mapped it, so you unmap it. periodt. πβ¨π
π¦ 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