get_fdt_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is get_fdt_index(9) from the Kernel API Manual, and the name is literally the whole assignment: loop through the kexec segment array and find the index of the FDT segment. no cap, that's the vibe πŸ’–

🌸 SYNOPSIS 🌸

int get_fdt_index (struct kimage *image );

πŸŽ€ ARGUMENTS πŸŽ€

  • image β€” a pointer to kexec_crash_image 🫢 that's the one and only argument, bestie.

πŸ’… DESCRIPTION πŸ’…

Returns the index of the FDT segment in the kexec segment array if it's found; otherwise -1 ✨ literally that simple, periodt.

lowkey important: if it's not found, the answer is -1 β€” that's the whole return situation, okay? okay πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

go check these besties:


mwah πŸ’‹ this cutie comes from the source/version line ./arch/powerpc/kexec, dated October 2026 β€” all accounted for, no cap πŸŽ€πŸ‘‘

πŸ“¦ where this page comes from