How to map more than 1 page of buffer to kernel address?

m silverstri michael.j.silverstri at gmail.com
Tue Feb 4 16:18:03 EST 2014


Hi,

I need to map an buffer object to kernel address.  What should I
buffer is more than 1 page and I want to map the whole buffer to the
kernel address?

https://www.kernel.org/doc/htmldocs/device-drivers/API-dma-buf-kmap.html

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

Thanks.



More information about the Kernelnewbies mailing list