dma_can_mmap(9)
okay so this is the dma_can_mmap(9) page from the Kernel API Manual, and it's literally a vibe check for DMA mmap support π
β¨
πΈ NAME πΈ
dma_can_mmap β check if a given device supports dma_mmap_*
π¦ SYNOPSIS π¦
bool dma_can_mmap (struct device *dev );
π ARGUMENTS π
devβ device to check β¨
π DESCRIPTION π
Returns true if dev supports dma_mmap_coherent and dma_mmap_attrs to map DMA allocations to userspace. That's the whole tea, bestie β it's giving "can this device do the mmap thing?" realness π«Ά
π SEE ALSO π
Kernel file ./kernel/dma/mapping.c and also these besties:
dmam_free_coherent(9)dmam_alloc_attrs(9)dma_map_sg_attrs(9)dma_map_sgtable(9)dma_need_unmap(9)dma_mmap_attrs(9)dma_addressing_limited(9)
xoxo bestie, this one's from ./kernel/dma, dated October 2026, and it's the dma_can_mmap(9) page β bye and slay ππ
π¦ 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