Home
last modified time | relevance | path

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

12

/linux-5.10/drivers/staging/android/ion/
Dion_heap.c20 void *ion_heap_map_kernel(struct ion_heap *heap, in ion_heap_map_kernel()
54 void ion_heap_unmap_kernel(struct ion_heap *heap, in ion_heap_unmap_kernel()
60 int ion_heap_map_user(struct ion_heap *heap, struct ion_buffer *buffer, in ion_heap_map_user()
130 void ion_heap_freelist_add(struct ion_heap *heap, struct ion_buffer *buffer) in ion_heap_freelist_add()
139 size_t ion_heap_freelist_size(struct ion_heap *heap) in ion_heap_freelist_size()
150 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, in _ion_heap_freelist_drain()
182 size_t ion_heap_freelist_drain(struct ion_heap *heap, size_t size) in ion_heap_freelist_drain()
187 size_t ion_heap_freelist_shrink(struct ion_heap *heap, size_t size) in ion_heap_freelist_shrink()
194 struct ion_heap *heap = data; in ion_heap_deferred_free() local
218 int ion_heap_init_deferred_free(struct ion_heap *heap) in ion_heap_init_deferred_free()
[all …]
Dion_system_heap.c43 struct ion_heap heap; member
47 static struct page *alloc_buffer_page(struct ion_system_heap *heap, in alloc_buffer_page()
56 static void free_buffer_page(struct ion_system_heap *heap, in free_buffer_page()
73 static struct page *alloc_largest_available(struct ion_system_heap *heap, in alloc_largest_available()
97 static int ion_system_heap_allocate(struct ion_heap *heap, in ion_system_heap_allocate()
171 static int ion_system_heap_shrink(struct ion_heap *heap, gfp_t gfp_mask, in ion_system_heap_shrink()
250 struct ion_system_heap *heap; in __ion_system_heap_create() local
271 struct ion_heap *heap; in ion_system_heap_create() local
284 static int ion_system_contig_heap_allocate(struct ion_heap *heap, in ion_system_contig_heap_allocate()
353 struct ion_heap *heap; in __ion_system_contig_heap_create() local
[all …]
Dion.c33 static struct ion_buffer *ion_buffer_create(struct ion_heap *heap, in ion_buffer_create()
104 struct ion_heap *heap = buffer->heap; in _ion_buffer_destroy() local
343 struct ion_heap *heap; in ion_alloc() local
401 struct ion_heap *heap; in ion_query_heaps() local
524 struct ion_heap *heap = data; in debug_shrink_set() local
542 struct ion_heap *heap = data; in debug_shrink_get() local
557 void ion_device_add_heap(struct ion_heap *heap) in ion_device_add_heap()
Dion_cma_heap.c20 struct ion_heap heap; member
27 static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer, in ion_cma_allocate()
121 struct ion_heap *heap; in __ion_add_cma_heaps() local
/linux-5.10/include/linux/
Dmin_heap.h35 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()
/linux-5.10/drivers/dma-buf/
Ddma-heap.c51 static int dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, in dma_heap_buffer_alloc()
68 struct dma_heap *heap; in dma_heap_open() local
86 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_allocate() local
188 void *dma_heap_get_drvdata(struct dma_heap *heap) in dma_heap_get_drvdata()
195 struct dma_heap *heap, *h, *err_ret; in dma_heap_add() local
/linux-5.10/fs/ubifs/
Dlprops.c50 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
Dfind.c45 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
/linux-5.10/lib/
Dtest_min_heap.c33 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
/linux-5.10/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()
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()
/linux-5.10/drivers/dma-buf/heaps/
Dcma_heap.c25 struct dma_heap *heap; member
43 static int cma_heap_allocate(struct dma_heap *heap, in cma_heap_allocate()
Dsystem_heap.c35 static int system_heap_allocate(struct dma_heap *heap, in system_heap_allocate()
Dheap-helpers.h31 struct dma_heap *heap; member
/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmm.h12 u8 heap; member
44 nvkm_mm_heap_size(struct nvkm_mm *mm, u8 heap) in nvkm_mm_heap_size()
Dgpuobj.h21 struct nvkm_mm heap; member
/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dmmu.h16 } *heap; member
28 u8 heap; member
Dif0008.h25 __u8 heap; member
/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c255 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
/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dmmu.h101 } heap[4]; member
110 u8 heap; member
/linux-5.10/arch/x86/boot/compressed/
Dmisc.c341 asmlinkage __visible void *extract_kernel(void *rmode, memptr heap, in extract_kernel()
/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c31 struct nvkm_mm heap; member
Dnv40.c32 struct nvkm_mm heap; member
/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dram.c104 nvkm_ram_get(struct nvkm_device *device, u8 heap, u8 type, u8 rpage, u64 size, in nvkm_ram_get()
/linux-5.10/drivers/gpu/drm/lima/
Dlima_sched.h33 struct lima_bo *heap; member
/linux-5.10/drivers/md/bcache/
Dutil.h42 #define init_heap(heap, _size, gfp) \ argument
52 #define free_heap(heap) \ argument

12