tso_dma_map_cleanup(9)
π tso_dma_map_cleanup(9) β Kernel API Manual π
okay so bestie, welcome to the glow-up era of tso_dma_map_cleanup β it lives in the Kernel API Manual and it's literally the cleanup crew for your DMA maps β¨
β¨ NAME β¨
tso_dma_map_cleanup β unmap all DMA regions in a tso_dma_map π§Ήπ
πΈ SYNOPSIS πΈ
void tso_dma_map_cleanup (struct tso_dma_map *map );
that's it, that's the whole vibe. no return value, no drama, just vibes and unmapping π«Ά
π¦ ARGUMENTS π¦
mapβ the map to clean up π literally the thing you're tidying up, bestie
π₯ DESCRIPTION π₯
okay so here's the tea β β this function is a both-paths icon and it handles both the IOVA path and the fallback path, no cap:
- IOVA path β it calls
dma_iova_destroyπβ¨ - fallback path β it unmaps each region individually, one by one, like the responsible main character it is π§
so whichever path you're on, it's got you covered. periodt π
π SEE ALSO π
- Kernel file
./net/core/tso.c tso_dma_map_init(9)tso_dma_map_count(9)tso_dma_map_next(9)
go read the whole friend group, they're all iconic π«Άβ
ngl this one's short and sweet β but do not skip it. unmapped regions are a whole situation π
so yeah, that's the page! it ships from ./net/core and the version/date stamp on it is October 2026 β mwah, love that for us ππ see u in the next manpage bestie π¦β¨
π¦ 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