of_get_next_reserved_child(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to of_get_next_reserved_child(9) from the Kernel API Manual ✨ and the whole vibe is: Find the next reserved child node. That's it, that's the mission πŸŽ€

✨ SYNOPSIS ✨

struct device_node * of_get_next_reserved_child (const struct
       device_node *node , struct device_node *prev );

🫢 ARGUMENTS 🫢

  • node β€” parent node πŸ‘‘
  • prev β€” previous child of the parent node, or NULL to get first πŸ₯‡

πŸ”₯ DESCRIPTION πŸ”₯

This function is like of_get_next_child, except that it automatically skips any disabled nodes (i.e. status = "disabled"). Lowkey iconic: it's giving "next child" energy, but with a built-in filter that skips the disabled ones automatically πŸ’… no cap.

🌈 SEE ALSO 🌈

Kernel file ./drivers/of/base.c, plus the whole friend group right here, iykyk:


okay that's the whole page, bestie 🫢 this legend was served to you by source/version ./drivers/of, dated October 2026, and yes it's still of_get_next_reserved_child(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from