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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to