DMA_BUF_KMAP_ATOMIC(9) Device drivers infrastructure DMA_BUF_KMAP_ATOMIC(9)

NAME dma_buf_kmap_atomic - Map a page of the buffer object into kernel address space. The same restrictions as for kmap_atomic and friends apply.

SYNOPSIS void * dma_buf_kmap_atomic(struct dma_buf * dmabuf, unsigned long page_num);

ARGUMENTS dmabuf [in] buffer to map page from.

page_num [in] page in PAGE_SIZE units to map.

DESCRIPTION This call must always succeed, any necessary preparations that might fail need to be done in begin_cpu_access.

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 DMA_BUF_KMAP_ATOMIC(9)