dma_buf_free_sgt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’–


signing off from ./drivers/dma-buf with so much love πŸ’– β€” October 2026 βœ¨πŸŽ€

πŸ“¦ where this page comes from