1DMA_BUF_KMAP(9) Device drivers infrastructure DMA_BUF_KMAP(9)
2
3
4
6 dma_buf_kmap - Map a page of the buffer object into kernel address
7 space. The same restrictions as for kmap and friends apply.
8
10 void * dma_buf_kmap(struct dma_buf * dmabuf, unsigned long page_num);
11
13 dmabuf
14 [in] buffer to map page from.
15
16 page_num
17 [in] page in PAGE_SIZE units to map.
18
20 This call must always succeed, any necessary preparations that might
21 fail need to be done in begin_cpu_access.
22
24Kernel Hackers Manual 3.10 June 2019 DMA_BUF_KMAP(9)