fwnode_get_n...e_child_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the fwnode_get_n...e_child_node(9) page from the Kernel API Manual β€” aka the full-on fwnode_get_next_available_child_node bestie. Its whole job: return the next available child node handle for a node ✨

🌸 SYNOPSIS 🌸

struct fwnode_handle * fwnode_get_next_available_child_node (const
       struct fwnode_handle *fwnode , struct fwnode_handle *child );

πŸŽ€ ARGUMENTS πŸŽ€

  • fwnode β€” Firmware node to find the next child node for. Like, the parent node you're poking around in πŸ’…
  • child β€” Handle to one of the node's child nodes or a NULL handle.

πŸ¦‹ DESCRIPTION πŸ¦‹

The caller is responsible for calling fwnode_handle_put on the returned fwnode pointer. And note β€” this function also puts a reference to child unconditionally. No cap, that part is important 🫢

🌈 SEE ALSO 🌈

Kernel file ./drivers/base/property.c β€” and the whole crew pulls up:


Final cute sign-off: the footer vibe is source/version ./drivers/base, dated October 2026, under the page name fwnode_get_n...e_child_node(9) πŸ’…βœ¨

πŸ“¦ where this page comes from