_base_get_chain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _base_get_chain β€” Kernel API Manual (section 9) ✨

okay bestie so this one is a Kernel API Manual page, section 9, and it's literally all about one tiny helper that hands you a virtual chain address. lowkey iconic. let's get into it 🫢


🌸 NAME 🌸

_base_get_chain β€” calculates and returns the virtual chain address for the smid you give it, up in BAR0 space. no cap, that's the whole vibe.


⭐ SYNOPSIS ⭐

void __iomem* _base_get_chain (struct MPT3SAS_ADAPTER *ioc , u16 smid ,
u8 sge_chain_count );

like… look at that signature. it's giving "small function, big responsibility" πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” the per adapter object. the main character of the whole driver, fr fr.
  • smid β€” the system request message index. iykyk, it's the little number that tells you which request you're talking about.
  • sge_chain_count β€” the scatter gather chain count. literally how many chains we're chaining πŸ¦‹

πŸ’– RETURN πŸ’–

the chain address. that's it, that's the tea. it returns the chain address ✨


πŸ‘‘ SEE ALSO πŸ‘‘

okay this list is a whole mood β€” 158 entries, all of them (9) siblings. no skips, bestie, we're reading the whole roster:

like, that's a friend group and a half. ate. πŸ’€


🧚 that's genuinely everything this page says β€” chain address calculated, chain address returned, and an absolute swarm of (9) cross-refs. periodt.

and that's a wrap, bestie! this page comes to you from ./drivers/scsi/mpt3sas and it's dated October 2026 β€” section 9, _base_get_chain, out. πŸŽ€πŸ’œ

πŸ“¦ where this page comes from