dmam_alloc_noncoherent(9)

dmam_alloc_noncoherent9

Managed dma_alloc_noncoherent

Usage

void * dmam_alloc_noncoherent(struct device * dev, size_t size, dma_addr_t * dma_handle, gfp_t gfp);

Arguments

dev

Device to allocate non_coherent memory for

size

Size of allocation

dma_handle

Out argument for allocated DMA handle

gfp

Allocation flags

Overview

Managed dma_alloc_noncoherent. Memory allocated using this function will be automatically released on driver detach.

Returns

Pointer to allocated memory on success, NULL on failure.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.