eeh_pe_alloc(9)
π eeh_pe_alloc β like, the Kernel API Manual page, bestie
okay so this is eeh_pe_alloc(9) from the Kernel API Manual, and honestly? it's a little one but she's doing her job. let's get into it π
β¨ NAME β¨
eeh_pe_alloc β allocate a PE. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
struct eeh_pe * eeh_pe_alloc (struct pci_controller *phb , int type );
like, she takes two things and hands you back a struct eeh_pe *. slay π
π§ ARGUMENTS π§
phbβ the PCI controller. your main character hardware, basically πtypeβ the PE type. which flavour of PE you're asking for π
π DESCRIPTION π
allocates a PE instance dynamically. no cap, that's literally what it does β she spins one up at runtime for you, whenever you need one β¨
π₯ SEE ALSO π₯
okay this is the part where she name-drops her whole friend group, and there are so many of them, but they're all iconic so we're listing every single one π«Ά
kernel file ./arch/powerpc/kernel/eeh_pe.c, plus:
eeh_set_pe_aux_size(9)eeh_phb_pe_create(9)eeh_wait_state(9)eeh_phb_pe_get(9)eeh_pe_next(9)eeh_pe_traverse(9)eeh_pe_dev_traverse(9)__eeh_pe_get(9)eeh_pe_get(9)eeh_pe_tree_insert(9)eeh_pe_tree_remove(9)eeh_pe_update_time_stamp(9)eeh_pe_state_mark(9)eeh_pe_mark_isolated(9)eeh_pe_state_clear(9)eeh_restore_one_device_bars(9)eeh_pe_restore_bars(9)eeh_pe_loc_get(9)eeh_pe_loc_get_bus(9)_eeh_pe_bus_get(9)eeh_pe_bus_get(9)eeh_pe_bus_get_nolock(9)
bestie this one's short but she ate. allocate responsibly π
and that's the whole page, mwah π β this lil number lives over in ./arch/powerpc/kernel, dated October 2026, manual name Kernel API Manual, entry eeh_pe_alloc(9). see you in the group chat ππ
π¦ 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