fdt_validate...ved_mem_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

fdt_validate_reserved_mem_node β€” validates a reserved memory node πŸŽ€

okay so real talk, bestie, this is the fdt_validate...ved_mem_node(9) page from the Kernel API Manual (yes the title is giving truncation era, that's just how the header line renders it, the actual function is the whole name, we move) πŸ’…


🌸 SYNOPSIS 🌸

int fdt_validate_reserved_mem_node (unsigned long node , phys_addr_t
*align );

like, that's the whole vibe. two args, one int coming back at you 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” the FDT node you want to validate. that's the one, that's the main character πŸ”₯
  • align β€” a pointer where the validated alignment gets stored. heads up tho: it may be modified by callback, so don't be weird about it afterwards πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so what this function actually does: it iterates through the reserved memory drivers and calls the node_validate callback for the compatible entry that matches the node πŸ‘‘

that's it. that's the whole thing. it goes shopping through the reserved memory drivers, finds the compatible entry that matches your node, and hits the node_validate callback. no cap ✨


🌈 RETURN 🌈

  • 0 on success β€” slay πŸ’―
  • -ENODEV if no compatible match found β€” like when nobody matches your vibe at the party 😭

⭐ SEE ALSO ⭐

the kernel file lives at ./drivers/of/of_reserved_mem.c β€” that's the home base 🏠

and the whole friend group, all present and accounted for:


ngl this one is a short read but it fully does its job and we respect it for that 🧚

okay bye bestie, this page came to you from ./drivers/of and it's dated October 2026, section 9 of the Kernel API Manual β€” mwah, go validate something πŸ’œπŸ“

πŸ“¦ where this page comes from