overlay_fixup_one_phandle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– overlay_fixup_one_phandle(9) β€” Kernel API Manual πŸ’–

okay bestie, you opened the overlay_fixup_one_phandle(9) page and honestly? it's giving β€œtiny but important kernel helper” energy. no cap, this one is all about fixing up one phandle so it points where it's supposed to. let's get into it 🫢

✨ NAME ✨

overlay_fixup_one_phandle β€” Set an overlay phandle to the base one πŸ’…

🌸 SYNOPSIS 🌸

int overlay_fixup_one_phandle (void *fdto , int symbols_off , const char
       *path , uint32_t path_len , const char *name , uint32_t name_len , int
       poffset , uint32_t phandle );

πŸŽ€ ARGUMENTS πŸŽ€

  • fdto β€” Device tree overlay blob πŸ¦‹
  • symbols_off β€” Node offset of the symbols node in the base device tree ✨
  • path β€” Path to a node holding a phandle in the overlay 🌈
  • path_len β€” number of path characters to consider πŸ”’
  • name β€” Name of the property holding the phandle reference in the overlay 🏷️
  • name_len β€” number of name characters to consider πŸ”’
  • poffset β€” Offset within the overlay property where the phandle is stored πŸ“
  • phandle β€” Phandle referencing the node πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

overlay_fixup_one_phandle resolves an overlay phandle pointing to a node in the base device tree. literally its whole job, and it ate πŸ’…

This is part of the device tree overlay application process, when you want all the phandles in the overlay to point to the actual base dt nodes. think of it as the matchmaker that makes the overlay's phandle look at the real base node β€” but fr fr, that's the process it belongs to 🧚

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • Negative error code on failure 😭

πŸ’œ SEE ALSO πŸ’œ


xoxo, your local manpage πŸŽ€ β€” this one came from ./scripts/dtc/libfdt, dated October 2026, and it's all about overlay_fixup_one_phandle(9) πŸ’–

πŸ“¦ where this page comes from