xbc_node_find_next_leaf(9)
π 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:
xbc_prepend_embedded_cmdline(9)xbc_embedded_cmdline_applied(9)bootconfig_cmdline_requested(9)xbc_get_info(9)xbc_root_node(9)xbc_node_index(9)xbc_node_get_parent(9)xbc_node_get_child(9)xbc_node_get_next(9)xbc_node_get_data(9)xbc_node_find_subkey(9)xbc_node_find_value(9)xbc_node_compose_key_after(9)xbc_node_find_next_key_value(9)xbc_snprint_cmdline(9)_xbc_exit(9)xbc_init(9)
byeee, this page is serving source/version ./lib, dated October 2026 β mwah π
π¦ 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