| /OK3568_Linux_fs/kernel/mm/ |
| H A D | cma.h | 11 struct cma *cma; member 14 struct cma { struct 32 struct cma_kobject *cma_kobj; argument 37 extern struct cma cma_areas[MAX_CMA_AREAS]; argument 40 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno() 49 static inline void cma_sysfs_account_success_pages(struct cma *cma, in cma_sysfs_account_success_pages() 51 static inline void cma_sysfs_account_fail_pages(struct cma *cma, in cma_sysfs_account_fail_pages()
|
| H A D | cma.c | 52 phys_addr_t cma_get_base(const struct cma *cma) in cma_get_base() 57 unsigned long cma_get_size(const struct cma *cma) in cma_get_size() 62 const char *cma_get_name(const struct cma *cma) in cma_get_name() 68 static unsigned long cma_bitmap_aligned_mask(const struct cma *cma, in cma_bitmap_aligned_mask() 80 static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, in cma_bitmap_aligned_offset() 87 static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, in cma_bitmap_pages_to_bits() 93 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap() 106 static void __init cma_activate_area(struct cma *cma) in cma_activate_area() 184 struct cma *cma; in cma_init_reserved_mem() local 417 static void cma_debug_show_areas(struct cma *cma) in cma_debug_show_areas() [all …]
|
| H A 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()
|
| H A D | cma_sysfs.c | 20 void cma_sysfs_account_success_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_success_pages() 25 void cma_sysfs_account_fail_pages(struct cma *cma, unsigned long nr_pages) in cma_sysfs_account_fail_pages() 38 struct cma *cma = cma_from_kobj(kobj); in alloc_pages_success_show() local 48 struct cma *cma = cma_from_kobj(kobj); in alloc_pages_fail_show() local 56 struct cma *cma = cma_from_kobj(kobj); in cma_kobj_release() local 80 struct cma *cma; in cma_sysfs_init() local
|
| H A D | cma_debug_bitmap_hex.c | 94 static int cma_debugfs_add_one(struct cma *cma, struct dentry *root_dentry) in cma_debugfs_add_one()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rk_cma_procfs.c | 30 static void cma_procfs_show_bitmap(struct seq_file *s, struct cma *cma) in cma_procfs_show_bitmap() 48 static u64 cma_procfs_used_get(struct cma *cma) in cma_procfs_used_get() 61 struct cma *cma = s->private; in cma_procfs_show() local 72 static int cma_procfs_add_one(struct cma *cma, void *data) in cma_procfs_add_one()
|
| /OK3568_Linux_fs/kernel/kernel/dma/ |
| H A D | contiguous.c | 143 struct cma **cma = &dma_contiguous_pernuma_area[nid]; in dma_pernuma_cma_reserve() local 285 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() 329 struct cma *cma = dma_contiguous_pernuma_area[nid]; in dma_alloc_contiguous() local 415 struct cma *cma; in rmem_cma_setup() local
|
| H A D | pool.c | 63 struct cma *cma; in cma_in_zone() local
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/ |
| H A D | rk-cma-heap.c | 34 struct cma *cma; member 578 static int __rk_add_cma_heap(struct cma *cma, void *data) in __rk_add_cma_heap() 610 struct cma *cma = rk_dma_heap_get_cma(); in rk_add_default_cma_heap() local 638 static void cma_procfs_show_bitmap(struct seq_file *s, struct cma *cma) in cma_procfs_show_bitmap() 656 static u64 cma_procfs_used_get(struct cma *cma) in cma_procfs_used_get() 669 struct cma *cma = s->private; in cma_procfs_show() local
|
| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/ |
| H A D | ion_cma_heap.c | 20 struct cma *cma; member 103 static int __ion_add_cma_heap(struct cma *cma, void *data) in __ion_add_cma_heap()
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/ |
| H A D | cma_heap.c | 28 struct cma *cma; member 368 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap()
|
| H A D | rk_cma_heap.c | 31 struct cma *cma; member 544 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | pci.h | 24 bool cma; member
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | bcm283x.dtsi | 38 cma: linux,cma { label
|
| /OK3568_Linux_fs/kernel/arch/s390/mm/ |
| H A D | init.c | 239 static int s390_cma_check_range(struct cma *cma, void *data) in s390_cma_check_range()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-davinci/ |
| H A D | devices-da8xx.c | 887 struct cma *cma; in da8xx_rproc_reserve_cma() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_drv.h | 156 bool cma; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_hv.c | 73 int cma = 0; in kvmppc_allocate_hpt() local
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | dma-mapping.c | 669 bool allowblock, cma; in __dma_alloc() local
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | kvm_host.h | 274 int cma; member
|