Home
last modified time | relevance | path

Searched refs:min_heap (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/lib/
H A Dtest_min_heap.c32 static __init int pop_verify_heap(bool min_heap, in pop_verify_heap() argument
33 struct min_heap *heap, in pop_verify_heap()
43 if (min_heap) { in pop_verify_heap()
62 static __init int test_heapify_all(bool min_heap) in test_heapify_all() argument
66 struct min_heap heap = { in test_heapify_all()
73 .less = min_heap ? less_than : greater_than, in test_heapify_all()
80 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
89 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
94 static __init int test_heap_push(bool min_heap) in test_heap_push() argument
99 struct min_heap heap = { in test_heap_push()
[all …]
/openbmc/linux/include/linux/
H A Dmin_heap.h15 struct min_heap { struct
35 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()
/openbmc/linux/kernel/events/
H A Dcore.c3708 static void __heap_add(struct min_heap *heap, struct perf_event *event) in __heap_add()
3742 struct min_heap event_heap; in visit_groups_merge()
3751 event_heap = (struct min_heap){ in visit_groups_merge()
3764 event_heap = (struct min_heap){ in visit_groups_merge()
/openbmc/linux/
H A Dopengrok1.0.log[all...]