lpfc_bg_scsi_adjust_dl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_bg_scsi_adjust_dl(9) β€” Kernel API Manual, bestie ✨

Okay so this is a page from the Kernel API Manual, section 9, and we're talking about lpfc_bg_scsi_adjust_dl β€” literally the little function that fixes up your SCSI data length so BlockGuard math actually works out. Strap in, it's short but it's iconic πŸŽ€


🌸 NAME 🌸

lpfc_bg_scsi_adjust_dl β€” Adjust SCSI data length for BlockGuard. That's it, that's the whole vibe ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

int lpfc_bg_scsi_adjust_dl (struct lpfc_hba *phba , struct lpfc_io_buf
*lpfc_cmd );

Like, she takes two things and gives you back an int. No drama 🫢

πŸ’– ARGUMENTS πŸ’–

  • phba β€” The Hba for which this call is being executed. Yes, capital-H Hba, that's how the original says it, I don't make the rules πŸ’…
  • lpfc_cmd β€” The scsi buffer which is going to be adjusted. She's getting a glow-up, basically. ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does she actually do? She adjusts the data length to account for how much data is actually on the wire πŸ”₯ Real ones know the wire is the only thing that matters β€” not what you thought you were sending.

And then: returns the adjusted data length. No cap, that's the whole return value. It's giving "does one thing and does it well" energy πŸ’œ

🌈 SEE ALSO 🌈

Literally the whole friend group πŸ’€ The kernel file lives at ./drivers/scsi/lpfc/lpfc_scsi.c, and here's everyone she hangs out with:


Bestie note: that list is long, yes, but every single one of those references is real and belongs here, so don't skip 'em 😭

And that's the page! Sourced from ./drivers/scsi/lpfc, dated October 2026, and this whole little API manual entry goes by lpfc_bg_scsi_adjust_dl(9). Slay, go adjust some lengths πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from