megasas_make_sgl_skinny(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay so this is megasas_make_sgl_skinny(9), and it's from the Kernel API Manual. The NAME section says it prepares IEEE SGL β€” that's the whole job, bestie. It's giving low-level kernel admin realness, and honestly? Iconic. πŸ’…

🩷 SYNOPSIS 🩷

int megasas_make_sgl_skinny (struct megasas_instance *instance , struct
       scsi_cmnd *scp , union megasas_sgl *mfi_sgl );

🧸 ARGUMENTS 🧸

  • instance β€” adapter soft state. The adapter's soft-state situation, periodt.
  • scp β€” SCSI command from the mid-layer. It came from the mid-layer, so you know it has lore.
  • mfi_sgl β€” SGL to be filled in. This is the one getting filled in, bestie.

πŸ“ DESCRIPTION πŸ“

If successful, this function returns the number of SG elements. Otherwise, it returnes -1 β€” yes, that's a -1, and yes, the typo is part of the original text, so we're keeping it. No cap. πŸ˜­πŸ’€

πŸ”— SEE ALSO πŸ”—

Kernel file: ./drivers/scsi/megaraid/megaraid_sas_base.c

These are all the other kernel besties in the SEE ALSO list, in the original order:


Okay that's the whole page, mwah πŸ’‹ β€” the footer vibe is source/version ./drivers/scsi/megaraid, dated October 2026, and the page itself is megasas_make_sgl_skinny(9). Bye bestie, go fill that SGL 🫢✨

πŸ“¦ where this page comes from