eeh_pe_next(9)
π eeh_pe_next π
okay so this is a page from the Kernel API Manual (yes, the kernel has lore too, and this is part of it π«Ά) β and bestie, it's a short one, so let's get into it.
β¨ NAME β¨
eeh_pe_next β retrieve the next PE in the tree π³
like, it walks the tree and hands you the next PE. that's the whole vibe check.
πΈ SYNOPSIS πΈ
struct eeh_pe * eeh_pe_next (struct eeh_pe *pe , struct eeh_pe *root );
look at that signature. it's giving "give me a pointer, get a pointer". iconic honestly.
π ARGUMENTS π
peβ current PE. as in, the one you're standing on right now, bestie. where you're at.rootβ root PE. the top of the tree, the main character of the hierarchy, the one everything else hangs off of π
π DESCRIPTION π
so what does it do? the function is used to retrieve the next PE in the hierarchy PE tree. that's it. that's the whole thing. you give it your current spot (pe) and the root of the tree (root), and it gets you the next PE in the hierarchy PE tree.
no cap, that's the entire description. sometimes the kernel is just chill like that π¦
π₯ SEE ALSO π₯
- the kernel file
./arch/powerpc/kernel/eeh_pe.cβ that's where the magic lives, go read it iykyk eeh_set_pe_aux_size(9)eeh_pe_alloc(9)eeh_phb_pe_create(9)eeh_wait_state(9)eeh_phb_pe_get(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)
like, that's a whole friend group of PE functions and you're gonna want to know them all π
and that's the page, bestie! π it shipped out of ./arch/powerpc/kernel and it's dated October 2026 β so mark your calendar, screenshot it, put it on your fyp, whatever you gotta do. slay. periodt. π
β¨
π¦ 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