Query: dma_mmap_from_coherent
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DMA_MMAP_FROM_COHERE(9) Device drivers infrastructure DMA_MMAP_FROM_COHERE(9)NAMEdma_mmap_from_coherent - try to mmap the memory allocated from per-device coherent memory pool to userspaceSYNOPSISint dma_mmap_from_coherent(struct device * dev, struct vm_area_struct * vma, void * vaddr, size_t size, int * ret);ARGUMENTSdev device from which the memory was allocated vma vm_area for the userspace memory vaddr cpu address returned by dma_alloc_from_coherent size size of the memory buffer allocated by dma_alloc_from_coherent ret result from remap_pfn_rangeDESCRIPTIONThis checks whether the memory was allocated from the per-device coherent memory pool and if so, maps that memory to the provided vma. Returns 1 if we correctly mapped the memory, or 0 if the caller should proceed with mapping memory from generic pools.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DMA_MMAP_FROM_COHERE(9)
Related Man Pages |
---|
usb_alloc_coherent(9) - centos |
reallocf(3) - debian |
vxmemstat(1m) - hpux |
struct_uio_info(9) - suse |
mem(7d) - sunos |
Similar Topics in the Unix Linux Community |
---|
How to increment version inside a file? |
CentOS7 restoring file capabilities |
Docker learning Phase-I |
CentOS 6 ran out of space, need to reclaim it |
[TIP] Processing YAML files with yq |