atapi_eh_request_sense(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the atapi_eh_request_sense(9) page from the Kernel API Manual β€” the function is literally called atapi_eh_request_sense, and its whole job is perform ATAPI REQUEST_SENSE. That's the name, that's the vibe, periodt. πŸ’…

🌸 SYNOPSIS 🌸

unsigned int atapi_eh_request_sense (struct ata_device *dev , u8
       *sense_buf , u8 dfl_sense_key );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device to perform REQUEST_SENSE to. Like, that's the target, bestie. 🎯
  • sense_buf β€” result sense data buffer (SCSI_SENSE_BUFFERSIZE bytes long). Do not skimp on the buffer size, iykyk. 🫢
  • dfl_sense_key β€” the default sense key to use. That's it, that's the assignment. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea: this performs ATAPI REQUEST_SENSE after the device reported CHECK SENSE. This function is literally an EH helper. No cap. πŸ’–

LOCKING: Kernel thread context (may sleep). So yeah, it may sleep β€” plan accordingly, bestie. πŸ’…

πŸ”₯ RETURN πŸ”₯

0 on success, AC_ERR_* mask on failure. Slay when it's zero, cry when it's the mask. 😭

πŸ’– SEE ALSO πŸ’–

The kernel file is ./drivers/ata/libata-eh.c, and the whole icon squad is:


That's the whole page, bestie: source is ./drivers/ata, date is October 2026, and the manual title is atapi_eh_request_sense(9). Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from