Searched refs:heap (Results 1 – 3 of 3) sorted by relevance
| /include/linux/ |
| D | min_heap.h | 43 void __min_heap_init(min_heap_char *heap, void *data, int size) in __min_heap_init() argument 45 heap->nr = 0; in __min_heap_init() 46 heap->size = size; in __min_heap_init() 48 heap->data = data; in __min_heap_init() 50 heap->data = heap->preallocated; in __min_heap_init() 58 void *__min_heap_peek(struct min_heap_char *heap) in __min_heap_peek() argument 60 return heap->nr ? heap->data : NULL; in __min_heap_peek() 68 bool __min_heap_full(min_heap_char *heap) in __min_heap_full() argument 70 return heap->nr == heap->size; 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() argument [all …]
|
| D | dma-heap.h | 24 struct dma_buf *(*allocate)(struct dma_heap *heap, 28 long (*get_pool_size)(struct dma_heap *heap); 45 void *dma_heap_get_drvdata(struct dma_heap *heap); 54 struct device *dma_heap_get_dev(struct dma_heap *heap); 63 const char *dma_heap_get_name(struct dma_heap *heap); 71 void dma_heap_put(struct dma_heap *heap); 91 struct dma_buf *dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, 109 int dma_heap_bufferfd_alloc(struct dma_heap *heap, size_t len,
|
| D | perf_event.h | 1058 struct perf_event **heap; member
|