Searched refs:cma (Results 1 – 6 of 6) sorted by relevance
| /kernel/dma/ |
| A D | contiguous.c | 55 struct cma *dma_contiguous_default_area; 165 struct cma **cma; in dma_numa_cma_reserve() local 178 0, false, name, cma, nid); in dma_numa_cma_reserve() 189 name, cma, nid); in dma_numa_cma_reserve() 331 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() argument 369 struct cma *cma = dma_contiguous_pernuma_area[nid]; in dma_alloc_contiguous() local 372 if (cma) { in dma_alloc_contiguous() 379 if (cma) { in dma_alloc_contiguous() 463 struct cma *cma; in rmem_cma_setup() local 490 dma_contiguous_default_area = cma; in rmem_cma_setup() [all …]
|
| A D | pool.c | 60 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()
|
| A D | Kconfig | 168 You can disable CMA by specifying "cma=0" on the kernel's command 197 default, but it can be enabled by passing cma=size[MG] to the kernel. 209 enabled by passing cma=size[MG] to the kernel.
|
| /kernel/ |
| A D | kexec_core.c | 562 struct page *cma = image->segment_cma[i]; in kimage_free_cma() local 565 if (!cma) in kimage_free_cma() 568 arch_kexec_pre_free_pages(page_address(cma), nr_pages); in kimage_free_cma() 569 dma_release_from_contiguous(NULL, cma, nr_pages); in kimage_free_cma() 744 struct page *cma = image->segment_cma[idx]; in kimage_load_cma_segment() local 745 char *ptr = page_address(cma); in kimage_load_cma_segment()
|
| A D | kexec_file.c | 699 kbuf->cma = p; in kexec_alloc_contig() 782 kbuf->cma = NULL; in kexec_add_buffer() 795 kbuf->image->segment_cma[kbuf->image->nr_segments] = kbuf->cma; in kexec_add_buffer()
|
| A D | crash_reserve.c | 488 struct cma *res; in reserve_crashkernel_cma()
|
Completed in 17 milliseconds