pmcraid_cancel_hcam(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pmcraid_cancel_hcam πŸ’…

okay so this is the <pink>pmcraid_cancel_hcam(9)</pink> page from the Kernel API Manual β€” yes bestie, we're in kernel-doc territory, grab a matcha πŸ“. It's one little function with one big job, and the SEE ALSO section is genuinely a whole friend group, so buckle up.


✨ NAME ✨

pmcraid_cancel_hcam β€” sends ABORT task to abort a given HCAM πŸ’€

like, it literally taps the adapter on the shoulder and is like "hey, that HCAM? yeah, abort it" and the ABORT task gets sent. iconic behavior honestly.


🌸 SYNOPSIS 🌸

void pmcraid_cancel_hcam (struct pmcraid_cmd *cmd , u8 type , void
(*cmd_done) (struct pmcraid_cmd *) );

no return value, it just does the thing and dips. that's main character energy fr. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the command that gets used as the cancelling command. so it's the one doing the cancelling, not the one getting cancelled β€” don't get it twisted 🫢
  • type β€” the HCAM type. it's a u8, so like, one byte of "which kind of HCAM are we talking about here" energy.
  • cmd_done β€” the op done function for the cancelling command. this is the callback that runs when the cancelling command is done, i.e. it's void (*cmd_done) (struct pmcraid_cmd *) and yes the signature is exactly that, keep it cute, keep it exact πŸŽ€
ngl the callback signature is not something you wanna freestyle β€” it's void (*)(struct pmcraid_cmd *) and the kernel will absolutely notice if you get it wrong 😭

🌈 SEE ALSO 🌈

it lives in the kernel file ./drivers/scsi/pmcraid.c β€” and bestie, the pmcraid family is huge, so here's the whole group chat, every single one, no cap πŸ’–


and that's the whole page bestie, every flag, every arg, every single SEE ALSO, nothing skipped πŸ’œ

okay and the cute little sign-off: this one's from ./drivers/scsi, dated October 2026, and it's page pmcraid_cancel_hcam(9) β€” go read the others, iykyk πŸ’…πŸŽ€

πŸ“¦ where this page comes from