pseries_eeh_pe_get_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pseries_eeh_pe_get_parent β€” a Kernel API Manual moment 🌸

okay so bestie, we're in the Kernel API Manual today and this one is genuinely such a small cutie β€” one function, one argument, one job. no cap, it's giving "short and sweet and does exactly what it says on the tin" energy πŸ’…


✨ NAME ✨

pseries_eeh_pe_get_parent β€” Retrieve the parent PE 🫢

like, literally. that's the whole vibe. it gets you the parent PE.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct eeh_pe * pseries_eeh_pe_get_parent (struct eeh_dev *edev );

ok so it takes one struct eeh_dev * and hands you back a struct eeh_pe *. slay. that's the whole signature, don't come for me πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • edev β€” the EEH device. yep, that's it. that's the argument. it's the EEH device, bestie, that's what it is ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the lore 🌈 β€” every single PE that exists in the system is organized as a hierarchy tree. think of it like the family group chat, except instead of your aunt posting minion memes it's PCI error handling structures. iconic either way tbh.

this function is the one you call to retrieve the parent PE, and it figures that out based on the parent EEH device. so you hand it an EEH device, it looks at that device's parent, and boom β€” you've got the parent PE. iykyk 🧚

no fancy footwork, no weird edge cases spelled out here β€” the function does one thing and it does it. treat the returned pointer with the respect any kernel pointer deserves, fr fr πŸ’€

🌸 SEE ALSO 🌸

the kernel file lives right here, go say hi to it for me πŸ’œ

  • ./arch/powerpc/platforms/pseries/eeh_pseries.c

and the whole friend group, in order, no one left out πŸ‘‘


okay that's the whole page, you ate that πŸ“ this masterpiece comes to you from ./arch/powerpc/platforms/pseries, dated October 2026 β€” stay hydrated, read your manpages, and remember: the parent PE was inside you all along πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from