STRUCT I2C_ATR_ALIAS_POOL(9)
π¦ NAME π¦
struct i2c_atr_alias_pool β bestie, it's literally the pool of client aliases available for an ATR π
(this is from the kernel API manual, iykyk)
β¨ SYNOPSIS β¨
okay so here's the whole struct, no cap, copied exactly:
struct i2c_atr_alias_pool {
size_t size;
bool shared;
spinlock_t lock;
unsigned long *use_mask;
u16 aliases[];
};
π Members π
the way that every single field has a job and ate:
sizeβ total number of aliases, like the headcount of the whole pool π«Άsharedβ tells you if this alias pool is shared by multiple channels (yes bestie, it's a group chat situation)lockβ the lock protectingaliasesanduse_mask, main character energy keeping everybody safe π₯use_maskβ mask of used aliases, so you know who's already taken πaliasesβ array of aliases, and it must hold exactlysizeelements β like, exactly, not "around"size, not "sizeplus vibes", exactly bestie π
π SEE ALSO π
go look at these, fr fr:
./drivers/i2c/i2c-atr.cstruct i2c_atr_alias_pair(9)struct i2c_atr_chan(9)struct i2c_atr(9)
so that's the whole page, periodt π this lil gem lives under ./drivers/i2c in the Kernel API Manual, dated October 2026 β go off bestie, slay the i2c π§β
π¦ 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