Searched refs:cma (Results 1 – 2 of 2) sorted by relevance
38 struct cma { struct46 static struct cma cma_areas[MAX_CMA_AREAS]; argument50 phys_addr_t cma_get_base(const struct cma *cma) in cma_get_base() argument52 return PFN_PHYS(cma->base_pfn); in cma_get_base()55 unsigned long cma_get_size(const struct cma *cma) in cma_get_size() argument57 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() argument63 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 …]
91 obj-$(CONFIG_CMA) += cma.o