Home
last modified time | relevance | path

Searched refs:cma (Results 1 – 3 of 3) sorted by relevance

/kernel/dma/
Dcontiguous.c60 struct cma *dma_contiguous_default_area;
102 static struct cma *dma_contiguous_pernuma_area[MAX_NUMNODES];
142 struct cma **cma = &dma_contiguous_pernuma_area[nid]; in dma_pernuma_cma_reserve() local
146 0, false, name, cma, nid); in dma_pernuma_cma_reserve()
229 phys_addr_t limit, struct cma **res_cma, in dma_contiguous_reserve_area()
283 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() argument
287 return cma_alloc(cma, size >> PAGE_SHIFT, align, gfp & __GFP_NOWARN); in cma_alloc_aligned()
321 struct cma *cma = dma_contiguous_pernuma_area[nid]; in dma_alloc_contiguous() local
324 if (cma) { in dma_alloc_contiguous()
325 page = cma_alloc_aligned(cma, size, gfp); in dma_alloc_contiguous()
[all …]
Dpool.c60 struct cma *cma; in cma_in_zone() local
62 cma = dev_get_cma_area(NULL); in cma_in_zone()
63 if (!cma) in cma_in_zone()
66 size = cma_get_size(cma); in cma_in_zone()
71 end = cma_get_base(cma) + size - 1; in cma_in_zone()
DKconfig126 You can disable CMA by specifying "cma=0" on the kernel's command
154 default, but it can be enabled by passing cma=size[MG] to the kernel.
166 enabled by passing cma=size[MG] to the kernel.