softleaf_is_guard_marker(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… softleaf_is_guard_marker(9) β€” like, is this leaf entry a guard region marker or nah?

okay so real talk, we're in the Kernel API Manual, section 9 (the kernel-functions girlies ✨), and today's main character is softleaf_is_guard_marker. She's a little bool-returning bestie whose whole job is answering one (1) question about a leaf entry. That's it. That's the gig. And honestly? She ate. πŸŽ€


✨ NAME ✨

softleaf_is_guard_marker β€” is this leaf entry a guard region marker? like, genuinely asking 🧐


🌸 SYNOPSIS 🌸

bool softleaf_is_guard_marker (softleaf_t entry );

she takes one thing and gives you back a bool, no cap, that's the whole vibe πŸ¦‹


πŸ“ ARGUMENTS πŸ“

  • entry β€” the leaf entry. that's the one. the entry in question. the leaf entry she's gonna look at πŸ‘€πŸƒ

πŸ’– RETURN πŸ’–

  • true β€” yup, this leaf entry is a guard marker. slay βœ…
  • false β€” nope, it's not a guard marker. better luck next time bestie πŸ™ˆ

(and that's literally it β€” it's true if the leaf entry is a guard marker, otherwise false. no surprises, no plot twists, just a clean little boolean πŸ’…)


🌈 SEE ALSO 🌈

okay this is the part where she tags literally everyone in the group chat. the kernel file to go look at is ./include/linux/leafops.h β€” that's home base 🏠 β€” and here's the whole friend group, every single one, no leaving anyone on read:

like, go read them. they're iconic. iykyk πŸ“šπŸ’œ


ngl bestie, she's a pure little predicate β€” no side effects, no drama, just vibes and a bool. but if you're ever unsure what a leaf entry actually is, go read ./include/linux/leafops.h before you come for her πŸ’€

okay that's the whole page!! mwah 🫢 this came from ./include/linux, dated October 2026, and she's softleaf_is_guard_marker(9) forever and always. periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from