Home
last modified time | relevance | path

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

/mm/
Dcma.c38 struct cma { struct
46 static struct cma cma_areas[MAX_CMA_AREAS]; argument
50 phys_addr_t cma_get_base(const struct cma *cma) in cma_get_base() argument
52 return PFN_PHYS(cma->base_pfn); in cma_get_base()
55 unsigned long cma_get_size(const struct cma *cma) in cma_get_size() argument
57 return cma->count << PAGE_SHIFT; in cma_get_size()
60 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, in cma_bitmap_aligned_mask() argument
63 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask()
65 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask()
72 static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, in cma_bitmap_aligned_offset() argument
[all …]
DMakefile91 obj-$(CONFIG_CMA) += cma.o