xbc_find_value(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hiii bestie, welcome to xbc_find_value(9) from the Kernel API Manual β€” today we're finding values in the XBC tree and it's giving main-character energy πŸ’…βœ¨

xbc_find_value β€” Find a value which matches the key. No cap, that's the whole assignment. πŸŽ€

✨ SYNOPSIS ✨

const char * xbc_find_value (const char *key , struct xbc_node **vnode
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • key β€” Search key. This is the key you're matching against, bestie. πŸ”‘
  • vnode β€” A container pointer of XBC value node. The found value node gets stored in *vnode. 🫢

πŸ’– DESCRIPTION πŸ’–

Okay so picture the whole of XBC tree, right? This searches a value whose key matches key from whole of XBC tree and returns the value if found. The found value node is stored in *vnode. Simple, iconic, slay. 🌸

ngl, there's a little plot twist: Note that this can return 0-length string and store NULL in *vnode for key-only (non-value) entry. It's not a bug, it's just the vibe for that case. πŸ« πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/bootconfig.h β€” go peek, then go click these besties:


bye bestie πŸ’– this page’s source/version is ./include/linux, and the date is October 2026 β€” now go find those values, periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from