_pmcraid_io_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _pmcraid_io_done(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the Kernel API Manual page for _pmcraid_io_done(9) β€” the lowercase-with-a-underscore icon of the pmcraid world, and yes we're stanning a helper function today, deal with it ✨


πŸ’– NAME πŸ’–

_pmcraid_io_done β€” the little helper bestie for the pmcraid_io_done function 🫢


🌸 SYNOPSIS 🌸

int _pmcraid_io_done (struct pmcraid_cmd *cmd , int reslen , int ioasc
);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” pointer to the pmcraid command struct, aka the main character of this whole operation πŸ’«
  • reslen β€” the residual data length that gets set in the ioasa πŸ“
  • ioasc β€” the ioasc, either returned by the IOA or set by the driver itself, no in-between bestie πŸŽ€

⭐ DESCRIPTION ⭐

okay so picture this: pmcraid_io_done calls this function to complete mid-layer scsi ops. that's it, that's the vibe πŸ’…

Return value: it gives you 0 when the caller is required to return it to free_pool. it gives you 1 when the caller need not worry about freeing the command block, because the error handler β€” an absolute queen β€” will take care of that 🫢

no cap, the whole function is a vibe check on who's responsible for cleanup afterwards πŸ”₯


🧚 SEE ALSO 🧚

the kernel file ./drivers/scsi/pmcraid.c plus this entire extended universe of functions, all of them (9), all of them iconic πŸ‘‘


πŸ’€ real talk: that's the whole list, every single one, don't come for me about the length, i listed them all because i love you 🫢

and that's the page bestie!! sourced from ./drivers/scsi, dated October 2026, and living forever in the Kernel API Manual under _pmcraid_io_done(9) 🌈✨ literally the cutest little helper function in the kernel, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from