Lines Matching defs:cma

38 phys_addr_t cma_get_base(const struct cma *cma)  in cma_get_base()
43 unsigned long cma_get_size(const struct cma *cma) in cma_get_size()
48 const char *cma_get_name(const struct cma *cma) in cma_get_name()
53 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, in cma_bitmap_aligned_mask()
65 static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, in cma_bitmap_aligned_offset()
72 static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, in cma_bitmap_pages_to_bits()
78 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap()
92 static void __init cma_activate_area(struct cma *cma) in cma_activate_area()
152 void __init cma_reserve_pages_on_error(struct cma *cma) in cma_reserve_pages_on_error()
174 struct cma *cma; in cma_init_reserved_mem() local
381 static void cma_debug_show_areas(struct cma *cma) in cma_debug_show_areas()
406 static struct page *__cma_alloc(struct cma *cma, unsigned long count, in __cma_alloc()
515 struct page *cma_alloc(struct cma *cma, unsigned long count, in cma_alloc()
521 struct folio *cma_alloc_folio(struct cma *cma, int order, gfp_t gfp) in cma_alloc_folio()
533 bool cma_pages_valid(struct cma *cma, const struct page *pages, in cma_pages_valid()
562 bool cma_release(struct cma *cma, const struct page *pages, in cma_release()
584 bool cma_free_folio(struct cma *cma, const struct folio *folio) in cma_free_folio()
592 int cma_for_each_area(int (*it)(struct cma *cma, void *data), void *data) in cma_for_each_area()