Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dmin_heap.h43 void __min_heap_init(min_heap_char *heap, void *data, int size) in __min_heap_init()
58 void *__min_heap_peek(struct min_heap_char *heap) in __min_heap_peek()
68 bool __min_heap_full(min_heap_char *heap) in __min_heap_full()
78 void __min_heap_sift_down(min_heap_char *heap, int pos, size_t elem_size, in __min_heap_sift_down()
116 void __min_heap_sift_up(min_heap_char *heap, size_t elem_size, size_t idx, in __min_heap_sift_up()
136 void __min_heapify_all(min_heap_char *heap, size_t elem_size, in __min_heapify_all()
150 bool __min_heap_pop(min_heap_char *heap, size_t elem_size, in __min_heap_pop()
175 void __min_heap_pop_push(min_heap_char *heap, in __min_heap_pop_push()
189 bool __min_heap_push(min_heap_char *heap, const void *element, size_t elem_size, in __min_heap_push()
214 bool __min_heap_del(min_heap_char *heap, size_t elem_size, size_t idx, in __min_heap_del()
/linux/drivers/dma-buf/
A Ddma-heap.c51 static int dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, in dma_heap_buffer_alloc()
80 struct dma_heap *heap; in dma_heap_open() local
98 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_allocate() local
201 void *dma_heap_get_drvdata(struct dma_heap *heap) in dma_heap_get_drvdata()
213 const char *dma_heap_get_name(struct dma_heap *heap) in dma_heap_get_name()
224 struct dma_heap *heap, *h, *err_ret; in dma_heap_add() local
/linux/drivers/gpu/drm/panthor/
A Dpanthor_heap.c122 struct panthor_heap *heap, in panthor_free_heap_chunk()
136 struct panthor_heap *heap, in panthor_alloc_heap_chunk()
195 struct panthor_heap *heap) in panthor_free_heap_chunks()
205 struct panthor_heap *heap, in panthor_alloc_heap_chunks()
223 struct panthor_heap *heap; in panthor_heap_destroy_locked() local
275 struct panthor_heap *heap; in panthor_heap_create() local
371 struct panthor_heap *heap; in panthor_heap_return_chunk() local
434 struct panthor_heap *heap; in panthor_heap_grow() local
587 struct panthor_heap *heap; in panthor_heap_pool_destroy() local
/linux/fs/ubifs/
A 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()
1072 struct ubifs_lpt_heap *heap = &c->lpt_heap[cat - 1]; in scan_check_cb() local
A Dfind.c45 struct ubifs_lpt_heap *heap; in valuable() local
130 struct ubifs_lpt_heap *heap; in scan_for_dirty() local
226 struct ubifs_lpt_heap *heap, *idx_heap; in ubifs_find_dirty_leb() local
401 struct ubifs_lpt_heap *heap; in do_find_free_space() local
820 struct ubifs_lpt_heap *heap; in find_dirty_idx_leb() local
A Dlpt_commit.c764 struct ubifs_lpt_heap *heap; in populate_lsave() local
1967 struct ubifs_lpt_heap *heap; in dbg_populate_lsave() local
/linux/lib/
A Dtest_min_heap.c35 struct min_heap_test *heap, in pop_verify_heap()
68 struct min_heap_test heap = { in test_heapify_all() local
100 struct min_heap_test heap = { in test_heap_push() local
132 struct min_heap_test heap = { in test_heap_pop_push() local
172 struct min_heap_test heap; in test_heap_del() local
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A 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/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dmm.h12 u8 heap; member
44 nvkm_mm_heap_size(struct nvkm_mm *mm, u8 heap) in nvkm_mm_heap_size()
A Dgpuobj.h21 struct nvkm_mm heap; member
/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dmmu.h16 } *heap; member
28 u8 heap; member
A Dif0008.h25 __u8 heap; member
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
A 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/drivers/dma-buf/heaps/
A Dcma_heap.c27 struct dma_heap *heap; member
32 struct cma_heap *heap; member
275 static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, in cma_heap_allocate()
A Dsystem_heap.c27 struct dma_heap *heap; member
334 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate()
/linux/tools/include/nolibc/
A Dstdlib.h72 struct nolibc_heap *heap; in free() local
133 struct nolibc_heap *heap; in malloc() local
167 struct nolibc_heap *heap; in realloc() local
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_abi16.h28 struct nvkm_mm heap; member
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
A Dmmu.h129 } heap[4]; member
138 u8 heap; member
/linux/drivers/md/bcache/
A Dutil.h34 #define init_heap(heap, _size, gfp) \ argument
44 #define free_heap(heap) \ argument
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
A Dnv40.c32 struct nvkm_mm heap; member
A Dnv04.c32 struct nvkm_mm heap; member
/linux/arch/x86/boot/compressed/
A Dmisc.c408 memptr heap = (memptr)boot_heap; in extract_kernel() local
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dram.c148 nvkm_ram_get(struct nvkm_device *device, u8 heap, u8 type, u8 rpage, u64 size, in nvkm_ram_get()
/linux/drivers/gpu/drm/lima/
A Dlima_sched.h30 struct lima_bo *heap; member
/linux/fs/bcachefs/
A Dutil.h58 #define init_heap(heap, _size, gfp) \ argument
66 #define free_heap(heap) \ argument

Completed in 52 milliseconds

12