Crate dma_buf

source ·
Expand description

DMA-Buf Helper Library

The DMA-Buf mechanism in Linux is aimed at providing a way for the user-space to efficiently share memory buffers between multiple devices, without any copy.

This library provides a safe abstraction over this interface for Rust.


A DMA-Buf buffer
A DmaBuf mapped in memory


Error type to access a MappedDmaBuf
Error type to map a DmaBuf