Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dmin_heap.h43 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 …]
Ddma-heap.h24 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,
Dperf_event.h1058 struct perf_event **heap; member