dma_buf_free_sgt(9)
π
dma_buf_free_sgt(9) π
Hey bestie, welcome to the Kernel API Manual page for dma_buf_free_sgt β itβs giving βunmap the bufferβ energy and weβre gonna read it together, fr fr. π¦β¨
πΈ NAME πΈ
dma_buf_free_sgt β unmaps the buffer π
β¨ SYNOPSIS β¨
void dma_buf_free_sgt (struct dma_buf_attachment *attach , struct sg_table *sgt , enum dma_data_direction dir );
π ARGUMENTS π
attach[in]β attachment to unmap buffer from π«Άsgt[in]β scatterlist info of the buffer to unmap β¨dir[in]β direction of DMA transfer π
π¦ DESCRIPTION π¦
Okay so the description is short and sweet: this unmaps a DMA mapping for attached obtained by dma_buf_phys_vec_to_sgt. Thatβs the whole lore, no cap. π
π SEE ALSO π
- Kernel file:
./drivers/dma-buf/dma-buf-mapping.cπ struct dma_buf_dma(9)πdma_buf_phys_vec_to_sgt(9)π₯
signing off from ./drivers/dma-buf with so much love π β October 2026 β¨π
π¦ 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