ata_cmd_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

ata_cmd_ioctl(9) πŸ’…βœ¨

manual: Kernel API Manual (9) β€” yes, we're in the kernel docs, bestie πŸ’–


✨ NAME ✨

ata_cmd_ioctl β€” handler for HDIO_DRIVE_CMD ioctl, periodt πŸ’«

🌈 SYNOPSIS 🌈

int ata_cmd_ioctl (struct scsi_device *scsidev , void __user *arg );

πŸŽ€ ARGUMENTS πŸŽ€

  • scsidev β€” device to which we are issuing command, no cap 🫢
  • arg β€” user provided data for issuing command, slay ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the whole description tea is literally the locking vibe:

LOCKING: Defined by the SCSI layer. We don't really care. πŸ’…

that's it, that's the section, iykyk 🌸

πŸ”₯ RETURN πŸ”₯

Zero on success, negative errno on error. iconic behavior honestly πŸ˜­πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ


source/version: ./drivers/ata; date: October 2026; page: ata_cmd_ioctl(9) β€” bye bestie, stay iconic πŸ’–πŸŽ€

πŸ“¦ where this page comes from