STRUCT DMA_BUF_DMA(9)
okay bestie, welcome to the Kernel API Manual page for struct dma_buf_dma β the manual name is folded right in here like a little name tag π·οΈβ¨ and yes, this is the struct that holds DMA mapping information. no cap.
πΈ NAME πΈ
struct dma_buf_dma β holds DMA mapping information. thatβs the vibe, thatβs the job π
β¨ SYNOPSIS β¨
struct dma_buf_dma {
struct sg_table sgt;
struct dma_iova_state *state;
size_t size;
};
π Members π
sgtβ the scatter-gather table, literally a scatter-gather table π§Ίβ¨stateβ DMA IOVA state thatβs relevant in IOMMU-based DMA π«Άsizeβ the total size of the DMA transfer, the whole amount, no crumbs π
π SEE ALSO π
- Kernel file
./drivers/dma-buf/dma-buf-mapping.c dma_buf_phys_vec_to_sgt(9)dma_buf_free_sgt(9)
this page comes from ./drivers/dma-buf, itβs the October 2026 version, and itβs signed struct dma_buf_dma(9) β mwah, bye 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