Home
last modified time | relevance | path

Searched defs:heap (Results 1 – 27 of 27) sorted by relevance

/linux-4.1.27/drivers/staging/android/ion/
Dion_heap.c28 void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel()
65 void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel()
71 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user()
163 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add()
172 size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size()
183 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, in _ion_heap_freelist_drain()
215 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain()
220 size_t ion_heap_freelist_shrink(struct ion_heap *heap, size_t size) in ion_heap_freelist_shrink()
227 struct ion_heap *heap = data; in ion_heap_deferred_free() local
251 int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free()
[all …]
Dion_system_heap.c51 struct ion_heap heap; member
55 static struct page *alloc_buffer_page(struct ion_system_heap *heap, in alloc_buffer_page()
80 static void free_buffer_page(struct ion_system_heap *heap, in free_buffer_page()
96 static struct page *alloc_largest_available(struct ion_system_heap *heap, in alloc_largest_available()
120 static int ion_system_heap_allocate(struct ion_heap *heap, in ion_system_heap_allocate()
199 static struct sg_table *ion_system_heap_map_dma(struct ion_heap *heap, in ion_system_heap_map_dma()
205 static void ion_system_heap_unmap_dma(struct ion_heap *heap, in ion_system_heap_unmap_dma()
210 static int ion_system_heap_shrink(struct ion_heap *heap, gfp_t gfp_mask, in ion_system_heap_shrink()
239 static int ion_system_heap_debug_show(struct ion_heap *heap, struct seq_file *s, in ion_system_heap_debug_show()
263 struct ion_system_heap *heap; in ion_system_heap_create() local
[all …]
Dion_carveout_heap.c29 struct ion_heap heap; member
34 ion_phys_addr_t ion_carveout_allocate(struct ion_heap *heap, in ion_carveout_allocate()
48 void ion_carveout_free(struct ion_heap *heap, ion_phys_addr_t addr, in ion_carveout_free()
59 static int ion_carveout_heap_phys(struct ion_heap *heap, in ion_carveout_heap_phys()
72 static int ion_carveout_heap_allocate(struct ion_heap *heap, in ion_carveout_heap_allocate()
111 struct ion_heap *heap = buffer->heap; in ion_carveout_heap_free() local
127 static struct sg_table *ion_carveout_heap_map_dma(struct ion_heap *heap, in ion_carveout_heap_map_dma()
133 static void ion_carveout_heap_unmap_dma(struct ion_heap *heap, in ion_carveout_heap_unmap_dma()
185 void ion_carveout_heap_destroy(struct ion_heap *heap) in ion_carveout_heap_destroy()
Dion_cma_heap.c30 struct ion_heap heap; member
44 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate()
109 static int ion_cma_phys(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_phys()
125 static struct sg_table *ion_cma_heap_map_dma(struct ion_heap *heap, in ion_cma_heap_map_dma()
133 static void ion_cma_heap_unmap_dma(struct ion_heap *heap, in ion_cma_heap_unmap_dma()
149 static void *ion_cma_map_kernel(struct ion_heap *heap, in ion_cma_map_kernel()
157 static void ion_cma_unmap_kernel(struct ion_heap *heap, in ion_cma_unmap_kernel()
190 void ion_cma_heap_destroy(struct ion_heap *heap) in ion_cma_heap_destroy()
Dion_chunk_heap.c28 struct ion_heap heap; member
36 static int ion_chunk_heap_allocate(struct ion_heap *heap, in ion_chunk_heap_allocate()
95 struct ion_heap *heap = buffer->heap; in ion_chunk_heap_free() local
120 static struct sg_table *ion_chunk_heap_map_dma(struct ion_heap *heap, in ion_chunk_heap_map_dma()
126 static void ion_chunk_heap_unmap_dma(struct ion_heap *heap, in ion_chunk_heap_unmap_dma()
186 void ion_chunk_heap_destroy(struct ion_heap *heap) in ion_chunk_heap_destroy()
Dion.c176 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create()
285 struct ion_heap *heap = buffer->heap; in _ion_buffer_destroy() local
479 struct ion_heap *heap; in ion_alloc() local
1397 struct ion_heap *heap = s->private; in ion_debug_heap_show() local
1472 struct ion_heap *heap = data; in debug_shrink_set() local
1491 struct ion_heap *heap = data; in debug_shrink_get() local
1507 void ion_device_add_heap(struct ion_device *dev, struct ion_heap *heap) in ion_device_add_heap()
Dion_priv.h68 struct ion_heap *heap; member
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_mem.c84 static struct mem_block *alloc_block(struct mem_block *heap, int size, in alloc_block()
99 static struct mem_block *find_block(struct mem_block *heap, int start) in find_block()
136 static int init_heap(struct mem_block **heap, int start, int size) in init_heap()
161 void radeon_mem_release(struct drm_file *file_priv, struct mem_block *heap) in radeon_mem_release()
189 void radeon_mem_takedown(struct mem_block **heap) in radeon_mem_takedown()
224 struct mem_block *block, **heap; in radeon_mem_alloc() local
259 struct mem_block *block, **heap; in radeon_mem_free() local
285 struct mem_block **heap; in radeon_mem_init_heap() local
/linux-4.1.27/fs/ubifs/
Dlprops.c62 static void move_up_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in move_up_lpt_heap()
99 static void adjust_lpt_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, in adjust_lpt_heap()
181 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in add_to_lpt_heap() local
229 struct ubifs_lpt_heap *heap; in remove_from_lpt_heap() local
260 struct ubifs_lpt_heap *heap; in lpt_heap_replace() local
456 struct ubifs_lpt_heap *heap; in change_category() local
771 struct ubifs_lpt_heap *heap; in ubifs_fast_find_free() local
942 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in dbg_check_cats() local
964 void dbg_check_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat, in dbg_check_heap()
1085 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb() local
Dfind.c57 struct ubifs_lpt_heap *heap; in valuable() local
141 struct ubifs_lpt_heap *heap; in scan_for_dirty() local
238 struct ubifs_lpt_heap *heap, *idx_heap; in ubifs_find_dirty_leb() local
412 struct ubifs_lpt_heap *heap; in do_find_free_space() local
841 struct ubifs_lpt_heap *heap; in find_dirty_idx_leb() local
Dlpt_commit.c807 struct ubifs_lpt_heap *heap; in populate_lsave() local
2008 struct ubifs_lpt_heap *heap; in dbg_populate_lsave() local
Dlpt.c2108 struct ubifs_lpt_heap *heap; in dbg_chk_pnode() local
Ddebug.c889 void ubifs_dump_heap(struct ubifs_info *c, struct ubifs_lpt_heap *heap, int cat) in ubifs_dump_heap()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head()
185 nvkm_mm_tail(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_tail()
Dgpuobj.c59 struct nvkm_mm *heap = NULL; in nvkm_gpuobj_create_() local
/linux-4.1.27/arch/x86/kernel/
Dtest_nx.c114 char *heap; in test_NX() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.h13 struct nvkm_mm heap; member
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmm.h11 u8 heap; member
Dgpuobj.h16 struct nvkm_mm heap; member
/linux-4.1.27/arch/m32r/boot/compressed/
Dmisc.c77 unsigned int zimage_len, unsigned long heap) in decompress_kernel()
/linux-4.1.27/arch/x86/boot/compressed/
Dmisc.c369 asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, in decompress_kernel()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dnv50.c111 struct nvkm_object *heap; in nv50_bar_ctor() local
/linux-4.1.27/drivers/md/bcache/
Dutil.h39 #define init_heap(heap, _size, gfp) \ argument
53 #define free_heap(heap) \ argument
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_abi16.h27 struct nvkm_mm heap; member
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramnv50.c256 struct nvkm_mm *heap = &pfb->vram; in nv50_ram_get() local
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_bo.c1010 const struct ttm_place *heap = &placement->placement[i]; in ttm_bo_mem_compat() local
1023 const struct ttm_place *heap = &placement->busy_placement[i]; in ttm_bo_mem_compat() local
/linux-4.1.27/lib/zlib_deflate/
Ddefutil.h179 int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */ member