ata_scsiop_read_cap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_scsiop_read_cap(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this lil page is all about ata_scsiop_read_cap β€” and yes we're reading it together, grab a snack πŸ“


✨ NAME ✨

ata_scsiop_read_cap β€” Simulate READ CAPACITY[ 16] commands πŸŽ€


🌸 SYNOPSIS 🌸

unsigned int ata_scsiop_read_cap (struct ata_device *dev , struct
scsi_cmnd *cmd , u8 *rbuf );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the target device, like the actual ATA device we're talking to πŸ’–
  • cmd β€” the SCSI command of interest, aka the one we care about rn πŸ‘€
  • rbuf β€” the response buffer, and this is literally where the simulated SCSI cmd output gets sent 🫢

πŸ’œ DESCRIPTION πŸ’œ

Simulate READ CAPACITY commands. that's it, that's the vibe πŸ’…

LOCKING: None. no locking, zero, nada, we're free πŸ•ŠοΈ


πŸ”₯ SEE ALSO πŸ”₯

the whole fam, fr fr β€” go read these next πŸ‘‘


aaaand that's the page πŸŽ€ big slay, no cap. this one lives in ./drivers/ata and it's from the Kernel API Manual, dated October 2026 β€” so it's giving future icon energy, iykyk πŸ’€βœ¨ mwah, go read your kernel source bestie πŸ’–

πŸ“¦ where this page comes from