centos man page for dma_buf_mmap

Query: dma_buf_mmap

OS: centos

Section: 9

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DMA_BUF_MMAP(9) 					   Device drivers infrastructure					   DMA_BUF_MMAP(9)

NAME
dma_buf_mmap - Setup up a userspace mmap with the given vma
SYNOPSIS
int dma_buf_mmap(struct dma_buf * dmabuf, struct vm_area_struct * vma, unsigned long pgoff);
ARGUMENTS
dmabuf [in] buffer that should back the vma vma [in] vma for the mmap pgoff [in] offset in pages where this mmap should start within the dma-buf buffer.
DESCRIPTION
This function adjusts the passed in vma so that it points at the file of the dma_buf operation. It alsog adjusts the starting pgoff and does bounds checking on the size of the vma. Then it calls the exporters mmap function to set up the mapping. Can return negative error values, returns 0 on success.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DMA_BUF_MMAP(9)
Related Man Pages
struct_uio_info(9) - centos
struct_uio_info(9) - suse
remap_file_pages(2) - mojave
remap_file_pages(2) - posix
remap_file_pages(2) - hpux
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
Controlling user input