of_find_next_cache_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to of_find_next_cache_node(9) from the Kernel API Manual β€” it's giving tiny helper, very specific job, zero drama. Let's get into it 🫢

🌸 NAME 🌸

of_find_next_cache_node β€” find a node's subsidiary cache

✨ SYNOPSIS ✨

struct device_node * of_find_next_cache_node (const struct device_node
       *np );

πŸŽ€ ARGUMENTS πŸŽ€

  • np β€” a node of type "cpu" or "cache". That's the whole assignment, bestie.

πŸ¦‹ RETURN πŸ¦‹

Returns a node pointer with its refcount incremented. Use of_node_put on it when you're done β€” literally do not forget, okay? Also, the caller should hold a reference to np.

πŸ’… SEE ALSO πŸ’…

Kernel file ./drivers/of/base.c plus these icons:


That's the whole page, bestie β€” source/version: ./drivers/of, dated October 2026. Slay πŸ’–

πŸ“¦ where this page comes from