softleaf_is_hwpoison(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… softleaf_is_hwpoison(9)

okay so real talk, bestie β€” this is a page straight out of the Kernel API Manual (yes, that manual, the 9 one, kernel-space royalty πŸ‘‘), and it's about one very specific little question: is this leaf entry a hardware poison entry? that's it. that's the whole vibe. let's get into it ✨


🌸 NAME 🌸

softleaf_is_hwpoison β€” the "hey, is this leaf entry a hardware poison entry?" check πŸ§ͺπŸ’€

like, literally the entire function is that one question. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

bool softleaf_is_hwpoison (softleaf_t entry );

she takes a softleaf_t called entry, and she gives you back a bool. simple. iconic. 🫢


✨ ARGUMENTS ✨

  • entry β€” the leaf entry. that's it, that's the whole argument. one (1) leaf entry, handed over for inspection πŸƒ

πŸ’– RETURN πŸ’–

  • true β€” bestie, that leaf entry is a hardware poison entry πŸ’€πŸ”₯
  • false β€” nope, it is not a hardware poison entry 🌈

fr fr, that's the whole decision tree. two leaves, both valid.


πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file this whole family lives in:

  • ./include/linux/leafops.h

and now the full squad β€” literally every one of them, because the leaf ops friend group is large and we love her for it πŸ’œ:

iykyk β€” go read a few, they're all lowkey serving 🫢


ngl bestie, this one's a shortie, so there's no wild warnings or deprecated chaos here β€” just a clean lil true/false check. enjoy the peace while it lasts πŸ’…

okay that's the page!! mwah πŸ’– this came from the kernel API manual, filed under ./include/linux, dated October 2026, and yeah β€” the page name is softleaf_is_hwpoison(9), in case you forgot already πŸ™ˆ ily, go check your leaf entries πŸŽ€

πŸ“¦ where this page comes from