Query: dmam_alloc_noncoherent
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DMAM_ALLOC_NONCOHERE(9) Device drivers infrastructure DMAM_ALLOC_NONCOHERE(9)NAMEdmam_alloc_noncoherent - Managed dma_alloc_non_coherentSYNOPSISvoid * dmam_alloc_noncoherent(struct device * dev, size_t size, dma_addr_t * dma_handle, gfp_t gfp);ARGUMENTSdev Device to allocate non_coherent memory for size Size of allocation dma_handle Out argument for allocated DMA handle gfp Allocation flagsDESCRIPTIONManaged dma_alloc_non_coherent. Memory allocated using this function will be automatically released on driver detach.RETURNSPointer to allocated memory on success, NULL on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 DMAM_ALLOC_NONCOHERE(9)