_base_build_sg_scmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _base_build_sg_scmd(9) β€” Kernel API Manual πŸ’…

okay so bestie, this is the _base_build_sg_scmd(9) page from the Kernel API Manual, and we are gonna get you comfy with it. no cap. 🫢


✨ NAME ✨

_base_build_sg_scmd β€” the main sg creation routine, and yeah, pcie_device is unused here! πŸ’…

🌸 SYNOPSIS 🌸

int _base_build_sg_scmd (struct MPT3SAS_ADAPTER *ioc , struct scsi_cmnd
       *scmd , u16 smid , struct _pcie_device *unused );

πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” per adapter object, bestie
  • scmd β€” scsi command
  • smid β€” system request message index
  • unused β€” unused pcie_device pointer

πŸ¦‹ CONTEXT πŸ¦‹

none. literally none β€” she doesn’t need a context era. 😌

πŸ”₯ DESCRIPTION πŸ”₯

okay so this is the main routine that builds the scatter gather table from a given scsi request sent via the .queuecommand main handler. that’s the whole vibe. ✨

⭐ RETURN ⭐

0 success, anything else error. periodt. πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/mpt3sas/mpt3sas_base.c β€” and here’s the whole bestie list, no skips:

okay bestie, that’s the whole page β€” source/version ./drivers/scsi/mpt3sas, dated October 2026. bye, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from