Lines Matching full:cma
23 struct cma;
26 extern phys_addr_t cma_get_base(const struct cma *cma);
27 extern unsigned long cma_get_size(const struct cma *cma);
28 extern const char *cma_get_name(const struct cma *cma);
33 bool fixed, const char *name, struct cma **res_cma,
38 bool fixed, const char *name, struct cma **res_cma) in cma_declare_contiguous()
46 struct cma **res_cma);
47 extern struct page *cma_alloc(struct cma *cma, unsigned long count, unsigned int align,
49 extern bool cma_pages_valid(struct cma *cma, const struct page *pages, unsigned long count);
50 extern bool cma_release(struct cma *cma, const struct page *pages, unsigned long count);
52 extern int cma_for_each_area(int (*it)(struct cma *cma, void *data), void *data);
54 extern void cma_reserve_pages_on_error(struct cma *cma);
57 struct folio *cma_alloc_folio(struct cma *cma, int order, gfp_t gfp);
58 bool cma_free_folio(struct cma *cma, const struct folio *folio);
60 static inline struct folio *cma_alloc_folio(struct cma *cma, int order, gfp_t gfp) in cma_alloc_folio() argument
65 static inline bool cma_free_folio(struct cma *cma, const struct folio *folio) in cma_free_folio() argument