get_heap_comp_val(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ get_heap_comp_val ✨

Okay bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one's a lil baby page from the UBIFS corner of the kernel, but it's lowkey important, so let's get into it πŸ’…

🌸 NAME 🌸

get_heap_comp_val β€” it gets the LEB properties value for heap comparisons. That's the whole vibe. No cap. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int get_heap_comp_val (struct ubifs_lprops *lprops , int cat );

Like, that's the whole signature. She's short and she knows it πŸ‘‘


πŸ’œ ARGUMENTS πŸ’œ

  • lprops β€” the LEB properties. This is the struct she's gonna look at 🫢
  • cat β€” the LEB category. Like, which category we're repping rn πŸ’…

🌈 SEE ALSO 🌈

Okay this is the part where the friend group shows up, because get_heap_comp_val does not roll alone. All of these live in the kernel file ./fs/ubifs/lprops.c:

Like honestly? iconic lineup. iykyk πŸ”₯


fr fr read the whole heap crew before you touch anything β€” they're all doing bits in the same file and they will notice if you skip leg day πŸ’€

Sign-off szn 🧚: this little gem comes to you from ./fs/ubifs, dated October 2026 β€” mwah, go read the source bestie, ily πŸ’–πŸŒŸ

πŸ“¦ where this page comes from