x SuSE Linux 13.1-RELEASE x x SuSE Linux 13.1-RELEASEx DMA_ALLOC_FROM_COHER(9) Device drivers infrastructure DMA_ALLOC_FROM_COHER(9) NAME dma_alloc_from_coherent - try to allocate memory from the per-device coherent area SYNOPSIS int dma_alloc_from_coherent(struct device * dev, ssize_t size, dma_addr_t * dma_handle, void ** ret); ARGUMENTS dev device from which we allocate memory size size of requested memory area dma_handle This will be filled with the correct dma handle ret This pointer will be filled with the virtual address to allocated area. DESCRIPTION This function should be only called from per-arch dma_alloc_coherent to support allocation from per-device coherent memory pools. Returns 0 if dma_alloc_coherent should continue with allocating from generic memory areas, or !0 if dma_alloc_coherent should return ret. COPYRIGHT Kernel Hackers Manual 3.16 October 2016 DMA_ALLOC_FROM_COHER(9)
Want to link to this manual page? Use this URL:
<http://star2.abcm.com/cgi-bin/bsdi-man?query=dma_alloc_from_coherent&sektion=9&manpath=>