1DMAM_ALLOC_NONCOHERE(9)  Device drivers infrastructure DMAM_ALLOC_NONCOHERE(9)
2
3
4

NAME

6       dmam_alloc_noncoherent - Managed dma_alloc_non_coherent
7

SYNOPSIS

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

ARGUMENTS

13       dev
14           Device to allocate non_coherent memory for
15
16       size
17           Size of allocation
18
19       dma_handle
20           Out argument for allocated DMA handle
21
22       gfp
23           Allocation flags
24

DESCRIPTION

26       Managed dma_alloc_non_coherent. Memory allocated using this function
27       will be automatically released on driver detach.
28

RETURNS

30       Pointer to allocated memory on success, NULL on failure.
31
33Kernel Hackers Manual 2.6.         June 2019           DMAM_ALLOC_NONCOHERE(9)
Impressum