Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dcma.h7 struct cma { struct
21 extern struct cma cma_areas[MAX_CMA_AREAS]; argument
24 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno()
Dcma.c43 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()
96 static void __init cma_activate_area(struct cma *cma) in cma_activate_area()
172 struct cma *cma; in cma_init_reserved_mem() local
373 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()
/Linux-v5.10/drivers/staging/android/ion/
Dion_cma_heap.c21 struct cma *cma; member
104 static struct ion_heap *__ion_cma_heap_create(struct cma *cma) in __ion_cma_heap_create()
119 static int __ion_add_cma_heaps(struct cma *cma, void *data) in __ion_add_cma_heaps()
/Linux-v5.10/kernel/dma/
Dcontiguous.c141 struct cma **cma = &dma_contiguous_pernuma_area[nid]; in dma_pernuma_cma_reserve() local
282 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned()
320 struct cma *cma = dma_contiguous_pernuma_area[nid]; in dma_alloc_contiguous() local
406 struct cma *cma; in rmem_cma_setup() local
Dpool.c63 struct cma *cma; in cma_in_zone() local
/Linux-v5.10/drivers/dma-buf/heaps/
Dcma_heap.c26 struct cma *cma; member
140 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap()
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpci.h24 bool cma; member
/Linux-v5.10/arch/arm/boot/dts/
Dbcm283x.dtsi38 cma: linux,cma { label
/Linux-v5.10/arch/s390/mm/
Dinit.c239 static int s390_cma_check_range(struct cma *cma, void *data) in s390_cma_check_range()
/Linux-v5.10/arch/arm/mach-davinci/
Ddevices-da8xx.c887 struct cma *cma; in da8xx_rproc_reserve_cma() local
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_drv.h151 bool cma; member
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c73 int cma = 0; in kvmppc_allocate_hpt() local
/Linux-v5.10/arch/arm/mm/
Ddma-mapping.c669 bool allowblock, cma; in __dma_alloc() local
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_host.h274 int cma; member