ata_scsiop_inq_b6(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_scsiop_inq_b6 β€” aka the Zoned Block Device Characteristics page moment

ok so bestie, welcome to the ata_scsiop_inq_b6(9) page from the Kernel API Manual β€” yes we're in kernel-land today, grab a lil snack πŸ“


✨ NAME ✨

ata_scsiop_inq_b6 β€” Simulate INQUIRY VPD page B6, Zoned Block Device Characteristics πŸ¦‹


🌸 SYNOPSIS 🌸

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

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the target device, the main character of this whole operation πŸ’–
  • cmd β€” the SCSI command of interest, i.e. the one we're actually caring about rn
  • rbuf β€” the response buffer! this is where all the simulated SCSI cmd output gets sent. it's giving output mailbox πŸ“¬

πŸ‘‘ DESCRIPTION πŸ‘‘

So what does it do? It returns data for the VPD page B2h (Zoned Block Device Characteristics). Slay, that's literally it ✨

LOCKING: spin_lock_irqsave(host lock) β€” yes bestie, it grabs the host lock, do not come for this function's concurrency safety πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/ata/libata-scsi.c β€” go read the source, iykyk πŸ“–


🧚 sign-off 🌈

and that's the whole page bestie, no cap πŸ’œ this little beauty ships out of ./drivers/ata, dated October 2026, living under the Kernel API Manual umbrella as ata_scsiop_inq_b6(9) β€” periodt, go touch some grass now 🌸🫢

πŸ“¦ where this page comes from