Lines Matching defs:cma
43 phys_addr_t cma_get_base(const struct cma *cma) in cma_get_base()
48 unsigned long cma_get_size(const struct cma *cma) in cma_get_size()
53 const char *cma_get_name(const struct cma *cma) in cma_get_name()
58 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, in cma_bitmap_aligned_mask()
70 static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, in cma_bitmap_aligned_offset()
77 static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, in cma_bitmap_pages_to_bits()
83 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap()
97 static void __init cma_activate_area(struct cma *cma) in cma_activate_area()
157 void __init cma_reserve_pages_on_error(struct cma *cma) in cma_reserve_pages_on_error()
179 struct cma *cma; in cma_init_reserved_mem() local
391 static void cma_debug_show_areas(struct cma *cma) in cma_debug_show_areas()
416 static inline void cma_debug_show_areas(struct cma *cma) { } in cma_debug_show_areas()
429 struct page *cma_alloc(struct cma *cma, unsigned long count, in cma_alloc()
531 bool cma_pages_valid(struct cma *cma, const struct page *pages, in cma_pages_valid()
560 bool cma_release(struct cma *cma, const struct page *pages, in cma_release()
581 int cma_for_each_area(int (*it)(struct cma *cma, void *data), void *data) in cma_for_each_area()