eeh_addr_cache_init(9)
π eeh_addr_cache_init(9) π
okay so before we even start β hi bestie, welcome to the Kernel API Manual, section 9, and today's main character is eeh_addr_cache_init. she's a little function, she's iconic, and she's about to make your address lookups so much easier. let's get into it π
β¨ NAME β¨
eeh_addr_cache_init β Initialize a cache of I/O addresses π¦
like, literally what it says on the tin. she initializes. she caches. she slays.
πΈ SYNOPSIS πΈ
void eeh_addr_cache_init (void );
no cap, that's the whole signature. no params, no return value, just vibes π
π ARGUMENTS π
voidβ no arguments. that's it. zero. nada. she takes nothing and she gives nothing back (it'svoidbestie, we don't get a return value π)
π₯ DESCRIPTION π₯
Initialize a cache of pci i/o addresses. that's the assignment, and she ate π―
This cache will be used to find the pci device that corresponds to a given address. so like, you hand her an address, she tells you which pci device is living there. it's giving matchmaker energy fr fr π
ngl, this is the setup step β call her first, and then the cache is ready to do the actual finding. periodt.
π SEE ALSO π
- Kernel file
./arch/powerpc/kernel/eeh_cache.cOverview(9) π eeh_addr_cache_get_dev(9) β the one who actually fetches the device for youeeh_addr_cache_insert_dev(9) β the one who puts stuff in the cacheeeh_addr_cache_rmv_dev(9) β the one who takes stuff back out
iykyk, it's the whole friend group: init, get, insert, remove. she's just the first one to arrive at the party π§π
and that's the page bestie!! π«Ά this one came straight out of ./arch/powerpc/kernel, dated October 2026, and honestly? obsessed. go call eeh_addr_cache_init and get your cache blessed β¨ππ
π¦ 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