dma_can_mmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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