STRUCT I2C_ATR_ALIAS_POOL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 protecting aliases and use_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 exactly size elements β€” like, exactly, not "around" size, not "size plus vibes", exactly bestie πŸ’€

🌈 SEE ALSO 🌈

go look at these, fr fr:

  • ./drivers/i2c/i2c-atr.c
  • struct 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