xbc_node_find_next_leaf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xbc_node_find_next_leaf πŸ’…

okay so this page comes from the Kernel API Manual, and it's giving β€œwalk the XBC node tree, bestie” energy. no cap. let's get into it πŸ’–


🌸 NAME 🌸

xbc_node_find_next_leaf β€” find the next leaf node under given node. short and sweet, periodt πŸ“

✨ SYNOPSIS ✨

struct xbc_node * xbc_node_find_next_leaf (struct xbc_node *root ,
       struct xbc_node *node );

πŸŽ€ ARGUMENTS πŸŽ€

  • root β€” an XBC root node. this is the root of the whole vibe check πŸ‘‘
  • node β€” an XBC node which starts from. yes bestie, that's literally the argument description 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So the function searches the next leaf node β€” which means the terminal key node β€” of node under root node, including root node itself. It returns the next node or NULL if the next leaf node is not found. that's the whole tea πŸ’…

lowkey important: β€œincluding root node itself” is right there in the original, so don't forget it when you're tracing your lil tree walk 🌈

🌟 SEE ALSO 🌟

Kernel file ./lib/bootconfig.c, plus the whole friend group:


byeee, this page is serving source/version ./lib, dated October 2026 β€” mwah πŸ’œ

πŸ“¦ where this page comes from