xbc_node_is_leaf(9)
πΈ xbc_node_is_leaf β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual page for xbc_node_is_leaf(9) β yes the (9) is giving kernel-internals realness, we love that for you π
β¨ NAME β¨
xbc_node_is_leaf β the little function that tests whether your node is a leaf key node π
π¦ SYNOPSIS π¦
bool xbc_node_is_leaf (struct xbc_node *node );
π ARGUMENTS π
nodeβ an XBC node. that's it, that's the whole argument, she's low maintenance π
π DESCRIPTION π
okay so here's the vibe check: xbc_node_is_leaf tests whether the node is a leaf key node β meaning it's a key node and it either has a value node or has no child at all.
It returns true if it's a leaf node, or false if it's not. simple as that, no cap β¨
π but wait, heads up bestie: note that the leaf node can have subkey nodes in addition to the value node. so don't go assuming "leaf" means "childless" β she's got range, she's a main character π«Ά
π SEE ALSO π
- the kernel file
./include/linux/bootconfig.hβ literally the home of all this π§ xbc_calc_checksum(9)xbc_node_is_value(9)xbc_node_is_key(9)xbc_node_is_array(9)xbc_find_value(9)xbc_find_node(9)xbc_node_get_subkey(9)xbc_array_for_each_value(9)xbc_node_for_each_child(9)xbc_node_for_each_subkey(9)xbc_node_for_each_array_value(9)xbc_node_for_each_key_value(9)xbc_for_each_key_value(9)xbc_node_compose_key(9)
like, the whole friend group showed up, we're obsessed π
and that's the whole page, bestie β fresh out of ./include/linux, dated October 2026, slaying the Kernel API Manual one node at a time πβ¨ periodt.
π¦ 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