STRUCT DMA_BUF_DMA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ”Ž


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