1DMA_BUF_KMAP_ATOMIC(9)   Device drivers infrastructure  DMA_BUF_KMAP_ATOMIC(9)
2
3
4

NAME

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

SYNOPSIS

11       void * dma_buf_kmap_atomic(struct dma_buf * dmabuf,
12                                  unsigned long page_num);
13

ARGUMENTS

15       dmabuf
16           [in] buffer to map page from.
17
18       page_num
19           [in] page in PAGE_SIZE units to map.
20

DESCRIPTION

22       This call must always succeed, any necessary preparations that might
23       fail need to be done in begin_cpu_access.
24
26Kernel Hackers Manual 3.10         June 2019            DMA_BUF_KMAP_ATOMIC(9)
Impressum