Home
last modified time | relevance | path

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

/linux/lib/
H A Dtest_min_heap.c34 static __init int pop_verify_heap(bool min_heap, in pop_verify_heap() argument
45 if (min_heap) { in pop_verify_heap()
64 static __init int test_heapify_all(bool min_heap) in test_heapify_all() argument
74 .less = min_heap ? less_than : greater_than, in test_heapify_all()
81 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
90 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heapify_all()
95 static __init int test_heap_push(bool min_heap) in test_heap_push() argument
106 .less = min_heap ? less_than : greater_than, in test_heap_push()
115 err = pop_verify_heap(min_heap, &heap, &funcs); in test_heap_push()
122 err += pop_verify_heap(min_heap, &heap, &funcs); in test_heap_push()
[all …]