Home
last modified time | relevance | path

Searched defs:cma (Results 1 – 4 of 4) sorted by relevance

/mm/
Dcma.h10 struct cma *cma; member
13 struct cma { struct
31 struct cma_kobject *cma_kobj; argument
35 extern struct cma cma_areas[MAX_CMA_AREAS]; argument
38 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno()
47 static inline void cma_sysfs_account_success_pages(struct cma *cma, in cma_sysfs_account_success_pages()
49 static inline void cma_sysfs_account_fail_pages(struct cma *cma, in cma_sysfs_account_fail_pages()
Dcma.c48 phys_addr_t cma_get_base(const struct cma *cma) in cma_get_base()
53 unsigned long cma_get_size(const struct cma *cma) in cma_get_size()
59 const char *cma_get_name(const struct cma *cma) in cma_get_name()
65 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, in cma_bitmap_aligned_mask()
77 static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, in cma_bitmap_aligned_offset()
84 static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, in cma_bitmap_pages_to_bits()
90 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap()
104 static void __init cma_activate_area(struct cma *cma) in cma_activate_area()
179 struct cma *cma; in cma_init_reserved_mem() local
397 static void cma_debug_show_areas(struct cma *cma) in cma_debug_show_areas()
[all …]
Dcma_debug.c36 struct cma *cma = data; in cma_used_get() local
51 struct cma *cma = data; in cma_maxchunk_get() local
71 static void cma_add_to_cma_mem_list(struct cma *cma, struct cma_mem *mem) in cma_add_to_cma_mem_list()
78 static struct cma_mem *cma_get_entry_from_list(struct cma *cma) in cma_get_entry_from_list()
92 static int cma_free_mem(struct cma *cma, int count) in cma_free_mem()
125 struct cma *cma = data; in cma_free_write() local
131 static int cma_alloc_mem(struct cma *cma, int count) in cma_alloc_mem()
157 struct cma *cma = data; in cma_alloc_write() local
163 static void cma_debugfs_add_one(struct cma *cma, struct dentry *root_dentry) in cma_debugfs_add_one()
Dcma_sysfs.c17 void cma_sysfs_account_success_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_success_pages()
22 void cma_sysfs_account_fail_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_fail_pages()
35 struct cma *cma = cma_from_kobj(kobj); in alloc_pages_success_show() local
45 struct cma *cma = cma_from_kobj(kobj); in alloc_pages_fail_show() local
53 struct cma *cma = cma_from_kobj(kobj); in cma_kobj_release() local
77 struct cma *cma; in cma_sysfs_init() local