dma_buf_is_dynamic(9)
π¦ NAME
Okay so bestie, this page is dma_buf_is_dynamic from the Kernel API Manual, and it's literally here to check if a DMA-buf uses dynamic mappings. That's the whole vibe. π
β¨ SYNOPSIS
bool dma_buf_is_dynamic (struct dma_buf *dmabuf );
π ARGUMENTS
dmabufβ the DMA-buf you want to check, bestie. That's the one getting the vibe check. π«Ά
π DESCRIPTION
Returns true if a DMA-buf exporter wants to be called with the dma_resv locked for the map/unmap callbacks. Returns false if it doesn't want to be called with the lock held. No cap, that's the whole deal. β¨
π₯ SEE ALSO
Kernel file ./include/linux/dma-buf.h, plus these iconic little references:
struct dma_buf_ops(9)struct dma_buf(9)struct dma_buf_attach_ops(9)struct dma_buf_attachment(9)struct dma_buf_export_info(9)DEFINE_DMA_BUF_EXPORT_INFO(9)get_dma_buf(9)
iykyk, go read the whole squad if you're deep in DMA-buf land π§
Signing off from ./include/linux, October 2026, on the dma_buf_is_dynamic(9) page β stay slay, stay locked, and check your mappings. π
π¦ 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