Man Page: dma_release_from_coherent
Operating Environment: centos
Section: 9
DMA_RELEASE_FROM_COH(9) Device drivers infrastructure DMA_RELEASE_FROM_COH(9)NAMEdma_release_from_coherent - try to free the memory allocated from per-device coherent memory poolSYNOPSISint dma_release_from_coherent(struct device * dev, int order, void * vaddr);ARGUMENTSdev device from which the memory was allocated order the order of pages allocated vaddr virtual address of allocated pagesDESCRIPTIONThis checks whether the memory was allocated from the per-device coherent memory pool and if so, releases that memory. Returns 1 if we correctly released the memory, or 0 if dma_release_coherent should proceed with releasing memory from generic pools.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DMA_RELEASE_FROM_COH(9)