overlay_adj...cal_phandles(9)
π 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 π₯
0on 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:
overlay_get_target_phandle(9)overlay_phandle_add_offset(9)overlay_adjust_node_phandles(9)overlay_update_local_node_references(9)overlay_update_local_references(9)overlay_fixup_one_phandle(9)overlay_fixup_phandle(9)overlay_fixup_phandles(9)overlay_adjust_local_conflicting_phandle(9)overlay_update_node_conflicting_references(9)overlay_update_local_conflicting_references(9)overlay_prevent_phandle_overwrite_node(9)overlay_prevent_phandle_overwrite(9)overlay_apply_node(9)overlay_merge(9)overlay_symbol_update(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms