/linux-6.6.21/mm/ |
D | cma.h | 10 struct cma *cma; member 13 struct cma { struct 31 struct cma_kobject *cma_kobj; argument 36 extern struct cma cma_areas[MAX_CMA_AREAS]; argument 39 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno() 48 static inline void cma_sysfs_account_success_pages(struct cma *cma, in cma_sysfs_account_success_pages() 50 static inline void cma_sysfs_account_fail_pages(struct cma *cma, in cma_sysfs_account_fail_pages()
|
D | cma.c | 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 [all …]
|
D | cma_debug.c | 36 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()
|
D | cma_sysfs.c | 17 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
|
/linux-6.6.21/kernel/dma/ |
D | contiguous.c | 172 struct cma **cma; in dma_numa_cma_reserve() local 335 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() 373 struct cma *cma = dma_contiguous_pernuma_area[nid]; in dma_alloc_contiguous() local 467 struct cma *cma; in rmem_cma_setup() local
|
D | pool.c | 60 struct cma *cma; in cma_in_zone() local
|
/linux-6.6.21/drivers/dma-buf/heaps/ |
D | cma_heap.c | 28 struct cma *cma; member 370 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | pci.h | 23 bool cma; member
|
/linux-6.6.21/arch/arm/boot/dts/broadcom/ |
D | bcm283x.dtsi | 38 cma: linux,cma { label
|
/linux-6.6.21/arch/s390/mm/ |
D | init.c | 239 static int s390_cma_check_range(struct cma *cma, void *data) in s390_cma_check_range()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_drv.h | 222 bool cma; member
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_64_mmu_hv.c | 75 int cma = 0; in kvmppc_allocate_hpt() local
|
/linux-6.6.21/arch/arm/mm/ |
D | dma-mapping.c | 540 bool allowblock, cma; in __dma_alloc() local
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | kvm_host.h | 268 int cma; member
|