ipr_erp_cancel_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to ipr_erp_cancel_all(9) from the Kernel API Manual β€” section 9 energy, tiny function, very main-character queue cleanup. ✨

ipr_erp_cancel_all β€” send cancel all to a device. That’s the name, no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the signature, character-for-character, because we do not play with exact syntax:

void ipr_erp_cancel_all (struct ipr_cmnd *ipr_cmd );

πŸŽ€ ARGUMENTS πŸŽ€

  • ipr_cmd β€” the ipr command struct. that’s the one and only argument, bestie. 🫢

🌸 DESCRIPTION 🌸

okay so what does this actually do? it sends a cancel all to a device to clear the queue. literally clearing the queue, iconic behavior. ✨

if we’re running TCQ on the device, QERR is set to 1, which means all outstanding ops have been dropped on the floor. 😭 not a vibe, but that’s the situation. Cancel all will return them to us.

Return value: nothing. that’s right, bestie β€” it returns literally nothing. void energy. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/scsi/ipr.c β€” and here’s the whole friend group, all of them, no skips, no cuts. 🫢


that’s the whole page, bestie β€” source/version ./drivers/scsi, dated October 2026 πŸ’…βœ¨

πŸ“¦ where this page comes from