STRUCT MIN_HEAP_CALLBACKS(9)
π struct min_heap_callbacks(9) π
okay so hi bestie, welcome to the Kernel API Manual β¨. This page is literally about struct min_heap_callbacks, and its whole thing is giving βdata/functions to customise the min_heap.β No cap, thatβs the vibe. Slay, periodt.
β¨ NAME β¨
struct min_heap_callbacks β Data/functions to customise the min_heap. Thatβs it, thatβs the main character energy π«Ά.
πΈ SYNOPSIS πΈ
struct min_heap_callbacks {
bool (*less)(const void *lhs, const void *rhs, void *args);
void (*swp)(void *lhs, void *rhs, void *args);
};
π Members π
lessβ the partial order function for this heap. Itβs the βwho comes before whoβ callback, lowkey essential π§.swpβ the swap elements function. Itβs literally the swap girlie, handling the element swapping π .
π₯ SEE ALSO π₯
Kernel file ./include/linux/min_heap.h β yes bestie, thatβs the spot π
okay bye bestie, signing off from ./include/linux, dated October 2026, with all the love from struct min_heap_callbacks(9) πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms