overlay_adj...cal_phandles(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… overlay_adjust_local_phandles β€” a Kernel API Manual moment

okay so bestie, welcome to the overlay_adjust_local_phandles(9) page, like, the actual kernel API manual entry, and no cap it's a good one πŸŽ€


✨ NAME ✨

overlay_adjust_local_phandles β€” Adjust the phandles of a whole overlay πŸ¦‹

🌸 SYNOPSIS 🌸

int overlay_adjust_local_phandles (void *fdto , uint32_t delta );

🧚 ARGUMENTS 🧚

  • fdto β€” the Device tree overlay blob, literally the whole overlay in blob form πŸ’–
  • delta β€” the Offset to shift the phandles of, like the amount you're nudging them by ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so overlay_adjust_local_phandles adds a constant to all the phandles of an overlay. every single one. the whole squad gets the same little bump πŸ’…

it's mainly use as part of the overlay application process, when we want to update all the overlay phandles to not conflict with the overlays of the base device tree. like, nobody wants their phandles beefing with the base tree's phandles, that's not the vibe, so we shift 'em all by the same constant and everyone lives in harmony 🌈

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” slay, we ate πŸ‘‘
  • Negative error code on failure β€” 😭 not the negative error code

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./scripts/dtc/libfdt/fdt_overlay.c and honestly the whole friend group is here:


okay bestie that's the whole page, go adjust some phandles responsibly πŸ’–βœ¨

and the cute little sign-off: this icon lives in ./scripts/dtc/libfdt, dated October 2026, and yes the page title got abbreviated to overlay_adj...cal_phandles(9) because manpage headers said "we're not doing the full name today" πŸ’€πŸ«Ά

πŸ“¦ where this page comes from