| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/ |
| H A D | ion_heap.c | 23 struct ion_heap *heap = container_of(shrinker, struct ion_heap, in ion_heap_shrink_count() local 38 struct ion_heap *heap = container_of(shrinker, struct ion_heap, in ion_heap_shrink_scan() local 64 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, in _ion_heap_freelist_drain() 98 struct ion_heap *heap = data; in ion_heap_deferred_free() local 125 void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel() 164 void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel() 171 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user() 208 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add() 217 size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size() 228 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain() [all …]
|
| H A D | ion_dma_buf.c | 54 struct ion_heap *heap = buffer->heap; in ion_dma_buf_attach() local 88 struct ion_heap *heap = buffer->heap; in ion_dma_buf_detatch() local 105 struct ion_heap *heap = buffer->heap; in ion_map_dma_buf() local 133 struct ion_heap *heap = buffer->heap; in ion_unmap_dma_buf() local 153 struct ion_heap *heap = buffer->heap; in ion_dma_buf_release() local 165 struct ion_heap *heap = buffer->heap; in ion_dma_buf_begin_cpu_access() local 193 struct ion_heap *heap = buffer->heap; in ion_dma_buf_begin_cpu_access_partial() local 210 struct ion_heap *heap = buffer->heap; in ion_dma_buf_end_cpu_access() local 238 struct ion_heap *heap = buffer->heap; in ion_dma_buf_end_cpu_access_partial() local 254 struct ion_heap *heap = buffer->heap; in ion_dma_buf_mmap() local [all …]
|
| H A D | ion.c | 69 struct ion_heap *heap; in ion_query_heaps_kernel() local 102 struct ion_heap *heap; in ion_query_heaps() local 229 struct ion_heap *heap = data; in debug_shrink_set() local 247 struct ion_heap *heap = data; in debug_shrink_get() local 262 static int ion_assign_heap_id(struct ion_heap *heap, struct ion_device *dev) in ion_assign_heap_id() 312 int __ion_device_add_heap(struct ion_heap *heap, struct module *owner) in __ion_device_add_heap() 401 void ion_device_remove_heap(struct ion_heap *heap) in ion_device_remove_heap() 438 struct ion_heap *heap; in total_pools_kb_show() local
|
| H A D | ion_protected_heap.c | 169 struct ion_heap heap; member 180 static void free_buffer_page(struct ion_heap *heap, in free_buffer_page() 199 static struct page *alloc_buffer_page(struct ion_heap *heap, in alloc_buffer_page() 221 static struct page_info *alloc_largest_available(struct ion_heap *heap, in alloc_largest_available() 254 static int ion_protected_heap_allocate(struct ion_heap *heap, in ion_protected_heap_allocate() 362 static int ion_protected_heap_shrink(struct ion_heap *heap, gfp_t gfp_mask, in ion_protected_heap_shrink() 406 static int ion_protected_heap_debug_show(struct ion_heap *heap, in ion_protected_heap_debug_show() 483 struct ion_protected_heap *heap; in __ion_protected_heap_create() local 513 struct ion_heap *heap; in ion_protected_heap_create() local
|
| H A D | ion_buffer.c | 35 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create() 136 struct ion_heap *heap; in ion_buffer_alloc() local 229 struct ion_heap *heap; in ion_buffer_destroy() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_tiler_heap.c | 87 struct kbase_csf_tiler_heap *const heap) in get_last_chunk() 138 static int link_chunk(struct kbase_csf_tiler_heap *const heap, in link_chunk() 174 static int init_chunk(struct kbase_csf_tiler_heap *const heap, in init_chunk() 396 static int create_chunk(struct kbase_csf_tiler_heap *const heap) in create_chunk() 439 static void delete_all_chunks(struct kbase_csf_tiler_heap *heap) in delete_all_chunks() 469 static int create_initial_chunks(struct kbase_csf_tiler_heap *const heap, in create_initial_chunks() 497 static void delete_heap(struct kbase_csf_tiler_heap *heap) in delete_heap() 558 struct kbase_csf_tiler_heap *heap = NULL; in find_tiler_heap() local 573 static struct kbase_csf_tiler_heap_chunk *find_chunk(struct kbase_csf_tiler_heap *heap, in find_chunk() 618 struct kbase_csf_tiler_heap *heap = list_entry( in kbase_csf_tiler_heap_context_term() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/ |
| H A D | rk-dma-heap.c | 118 struct dma_buf *rk_dma_heap_buffer_alloc(struct rk_dma_heap *heap, size_t len, in rk_dma_heap_buffer_alloc() 147 int rk_dma_heap_bufferfd_alloc(struct rk_dma_heap *heap, size_t len, in rk_dma_heap_bufferfd_alloc() 172 struct page *rk_dma_heap_alloc_contig_pages(struct rk_dma_heap *heap, in rk_dma_heap_alloc_contig_pages() 188 void rk_dma_heap_free_contig_pages(struct rk_dma_heap *heap, in rk_dma_heap_free_contig_pages() 201 void rk_dma_heap_total_inc(struct rk_dma_heap *heap, size_t len) in rk_dma_heap_total_inc() 208 void rk_dma_heap_total_dec(struct rk_dma_heap *heap, size_t len) in rk_dma_heap_total_dec() 220 struct rk_dma_heap *heap; in rk_dma_heap_open() local 238 struct rk_dma_heap *heap = file->private_data; in rk_dma_heap_ioctl_allocate() local 334 void *rk_dma_heap_get_drvdata(struct rk_dma_heap *heap) in rk_dma_heap_get_drvdata() 341 struct rk_dma_heap *heap = container_of(ref, struct rk_dma_heap, refcount); in rk_dma_heap_release() local [all …]
|
| H A D | rk-cma-heap.c | 33 struct rk_dma_heap *heap; member 38 struct rk_cma_heap *heap; member 282 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_remove_dmabuf_list() local 305 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_add_dmabuf_list() local 326 static int rk_cma_heap_remove_contig_list(struct rk_dma_heap *heap, in rk_cma_heap_remove_contig_list() 348 static int rk_cma_heap_add_contig_list(struct rk_dma_heap *heap, in rk_cma_heap_add_contig_list() 388 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_dma_buf_release() local 422 static struct dma_buf *rk_cma_heap_allocate(struct rk_dma_heap *heap, in rk_cma_heap_allocate() 528 static struct page *rk_cma_heap_allocate_pages(struct rk_dma_heap *heap, in rk_cma_heap_allocate_pages() 556 static void rk_cma_heap_free_pages(struct rk_dma_heap *heap, in rk_cma_heap_free_pages()
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/ |
| H A D | dma-heap.c | 79 struct dma_buf *dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, in dma_heap_buffer_alloc() 100 int dma_heap_bufferfd_alloc(struct dma_heap *heap, size_t len, in dma_heap_bufferfd_alloc() 124 struct dma_heap *heap; in dma_heap_open() local 142 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_allocate() local 162 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_get_phys() local 256 void *dma_heap_get_drvdata(struct dma_heap *heap) in dma_heap_get_drvdata() 264 struct dma_heap *heap = container_of(ref, struct dma_heap, refcount); in dma_heap_release() local 296 struct device *dma_heap_get_dev(struct dma_heap *heap) in dma_heap_get_dev() 309 const char *dma_heap_get_name(struct dma_heap *heap) in dma_heap_get_name() 317 struct dma_heap *heap, *h, *err_ret; in dma_heap_add() local [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | ion.h | 40 struct ion_heap *heap; member 147 #define ion_device_add_heap(heap) __ion_device_add_heap(heap, THIS_MODULE) argument 344 static inline int __ion_device_add_heap(struct ion_heap *heap, in __ion_device_add_heap() 350 static inline int ion_heap_init_shrinker(struct ion_heap *heap) in ion_heap_init_shrinker() 355 static inline int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free() 360 static inline void ion_heap_freelist_add(struct ion_heap *heap, in ion_heap_freelist_add() 363 static inline size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain() 368 static inline size_t ion_heap_freelist_shrink(struct ion_heap *heap, in ion_heap_freelist_shrink() 374 static inline size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size() 379 static inline void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel() [all …]
|
| H A D | min_heap.h | 35 void min_heapify(struct min_heap *heap, int pos, in min_heapify() 68 void min_heapify_all(struct min_heap *heap, in min_heapify_all() 79 void min_heap_pop(struct min_heap *heap, in min_heap_pop() 99 void min_heap_pop_push(struct min_heap *heap, in min_heap_pop_push() 109 void min_heap_push(struct min_heap *heap, const void *element, in min_heap_push()
|
| H A D | rk-dma-heap.h | 110 static inline struct dma_buf *rk_dma_heap_buffer_alloc(struct rk_dma_heap *heap, size_t len, in rk_dma_heap_buffer_alloc() 118 static inline int rk_dma_heap_bufferfd_alloc(struct rk_dma_heap *heap, size_t len, in rk_dma_heap_bufferfd_alloc() 126 static inline struct page *rk_dma_heap_alloc_contig_pages(struct rk_dma_heap *heap, in rk_dma_heap_alloc_contig_pages() 132 static inline void rk_dma_heap_free_contig_pages(struct rk_dma_heap *heap, struct page *pages, in rk_dma_heap_free_contig_pages()
|
| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/ |
| H A D | ion_system_heap.c | 45 struct ion_heap heap; member 49 static struct page *alloc_buffer_page(struct ion_system_heap *heap, in alloc_buffer_page() 58 static void free_buffer_page(struct ion_system_heap *heap, in free_buffer_page() 75 static struct page *alloc_largest_available(struct ion_system_heap *heap, in alloc_largest_available() 99 static int ion_system_heap_allocate(struct ion_heap *heap, in ion_system_heap_allocate() 230 static int ion_system_heap_shrink(struct ion_heap *heap, gfp_t gfp_mask, in ion_system_heap_shrink() 265 static long ion_system_get_pool_size(struct ion_heap *heap) in ion_system_get_pool_size()
|
| H A D | ion_cma_heap.c | 19 struct ion_heap heap; member 26 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | lprops.c | 54 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap() 91 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap() 173 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap() local 221 struct ubifs_lpt_heap *heap; in remove_from_lpt_heap() local 252 struct ubifs_lpt_heap *heap; in lpt_heap_replace() local 448 struct ubifs_lpt_heap *heap; in change_category() local 763 struct ubifs_lpt_heap *heap; in ubifs_fast_find_free() local 934 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats() local 956 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat, in dbg_check_heap() 1077 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb() local
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | lprops.c | 50 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap() 87 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap() 169 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap() local 217 struct ubifs_lpt_heap *heap; in remove_from_lpt_heap() local 246 struct ubifs_lpt_heap *heap; in lpt_heap_replace() local 442 struct ubifs_lpt_heap *heap; in change_category() local 757 struct ubifs_lpt_heap *heap; in ubifs_fast_find_free() local 928 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats() local 950 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat, in dbg_check_heap() 1071 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb() local
|
| H A D | find.c | 45 struct ubifs_lpt_heap *heap; in valuable() local 129 struct ubifs_lpt_heap *heap; in scan_for_dirty() local 226 struct ubifs_lpt_heap *heap, *idx_heap; in ubifs_find_dirty_leb() local 400 struct ubifs_lpt_heap *heap; in do_find_free_space() local 819 struct ubifs_lpt_heap *heap; in find_dirty_idx_leb() local
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_min_heap.c | 33 struct min_heap *heap, in pop_verify_heap() 66 struct min_heap heap = { in test_heapify_all() local 99 struct min_heap heap = { in test_heap_push() local 132 struct min_heap heap = { in test_heap_pop_push() local
|
| /OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/ |
| H A D | rk_cma_heap.c | 30 struct dma_heap *heap; member 35 struct cma_heap *heap; member 347 static struct dma_buf *cma_heap_do_allocate(struct dma_heap *heap, in cma_heap_do_allocate() 448 static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, in cma_heap_allocate() 457 static int cma_heap_get_phys(struct dma_heap *heap, in cma_heap_get_phys() 496 static struct dma_buf *cma_uncached_heap_allocate(struct dma_heap *heap, in cma_uncached_heap_allocate() 504 static struct dma_buf *cma_uncached_heap_not_initialized(struct dma_heap *heap, in cma_uncached_heap_not_initialized()
|
| H A D | rk_system_heap.c | 40 struct dma_heap *heap; member 275 struct dma_heap *heap = buffer->heap; in system_heap_dma_buf_begin_cpu_access_partial() local 305 struct dma_heap *heap = buffer->heap; in system_heap_dma_buf_end_cpu_access_partial() local 491 static struct page *system_heap_alloc_largest_available(struct dma_heap *heap, in system_heap_alloc_largest_available() 512 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, in system_heap_do_allocate() 650 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate() 658 static long system_get_pool_size(struct dma_heap *heap) in system_get_pool_size() 678 static struct dma_buf *system_uncached_heap_allocate(struct dma_heap *heap, in system_uncached_heap_allocate() 687 static struct dma_buf *system_uncached_heap_not_initialized(struct dma_heap *heap, in system_uncached_heap_not_initialized()
|
| H A D | system_heap.c | 31 struct dma_heap *heap; member 397 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, in system_heap_do_allocate() 495 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate() 503 static long system_get_pool_size(struct dma_heap *heap) in system_get_pool_size() 523 static struct dma_buf *system_uncached_heap_allocate(struct dma_heap *heap, in system_uncached_heap_allocate() 532 static struct dma_buf *system_uncached_heap_not_initialized(struct dma_heap *heap, in system_uncached_heap_not_initialized()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | mm.c | 111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head() 186 nvkm_mm_tail(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_tail() 240 nvkm_mm_init(struct nvkm_mm *mm, u8 heap, u32 offset, u32 length, u32 block) in nvkm_mm_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/core/ |
| H A D | mm.h | 12 u8 heap; member 44 nvkm_mm_heap_size(struct nvkm_mm *mm, u8 heap) in nvkm_mm_heap_size()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | mmu.h | 16 } *heap; member 28 u8 heap; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | base.c | 255 nvkm_mmu_type(struct nvkm_mmu *mmu, int heap, u8 type) in nvkm_mmu_type() 282 int heap; in nvkm_mmu_host() local 323 u8 heap = NVKM_MEM_VRAM; in nvkm_mmu_vram() local
|