tso_dma_map_complete(9)
hiii bestie π welcome to the Kernel API Manual page for tso_dma_map_complete(9). this one is literally about cleanup at completion time, and itβs giving βbye, mappingβ energy β¨
π NAME π
tso_dma_map_complete β tear down mapping at completion time π
β¨
like, the function comes through when itβs time to tear down the mapping at completion time, no cap π«Ά
β¨ SYNOPSIS β¨
bool tso_dma_map_complete (struct device *dev , struct
tso_dma_map_completion_state *cstate );
okay so thatβs the exact signature, spacing and all π bool is the return vibe, and the two arguments are right there π
π«Ά ARGUMENTS π«Ά
devβ the device that owns the mapping π main-character device energy, fr frcstateβ state saved bytso_dma_map_completion_saveπ itβs the saved-state bestie from that other function, iykyk
π RETURN π
trueβ the IOVA path was used and the mapping has been destroyed β slay, cleanup is donefalseβ the fallback per-region path was used, and the driver must unmap via its normal completion path π so not the IOVA path, and the driver still has to do its normal unmapping thing
π¦ SEE ALSO π¦
- Kernel file
./include/net/tso.hπ struct tso_dma_map(9)πstruct tso_dma_map_completion_state(9)π§tso_dma_map_completion_save(9)π
go read those too, bestie β iykyk π₯
mwah π thatβs the page, and hereβs the cute little sign-off: source ./include/net, dated October 2026, for tso_dma_map_complete(9). byeee π«Άβ¨
π¦ 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