_ctl_btdh_search_sas_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– _ctl_btdh_search_sas_device β€” searching for sas device

okay so bestie, this one's from the Kernel API Manual, section 9 (the kernel API pages, iykyk), and it's a tiny little function page but we're gonna treat it with the respect it deserves πŸŽ€ no cap, every argument, every cross-reference, all of it stays.


✨ NAME ✨

_ctl_btdh_search_sas_device β€” searching for sas device

like, literally that's the whole job description πŸ’… it goes looking for a sas device, and that's the vibe.


🌸 SYNOPSIS 🌸

int _ctl_btdh_search_sas_device (struct MPT3SAS_ADAPTER *ioc , struct
mpt3_ioctl_btdh_mapping *btdh );

it returns an int, takes two pointers, and yes the line break in the middle is exactly how it's written, don't come for me πŸ™ˆ


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ioc β€” per adapter object πŸ’œ this is the struct MPT3SAS_ADAPTER * for whichever adapter you're poking at, the main character of the whole driver fr fr.
  • btdh β€” btdh ioctl payload ✨ a struct mpt3_ioctl_btdh_mapping *, aka the payload riding along with the btdh ioctl. it's giving "envelope with the actual request inside" πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

okay so this is the part where the manpage just,,, lists its entire friend group 😭 and we are NOT skipping a single one of them, periodt. the kernel file that started it all:

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.c
  • enum block_state(9)

and now the whole group chat πŸ‘‘:

that's the whole list, untouched, no edits, no "and friends", because leaving one out would be a crime and we don't do crimes here πŸ’€

aaaand that's the page!! 🫢 this little cutie lives under ./drivers/scsi/mpt3sas and the date stamped on it is October 2026, still signed _ctl_btdh_search_sas_device(9) at the bottom like a little signature. go read your kernel source bestie, it ate πŸ’…β­

πŸ“¦ where this page comes from