ata_scsiop_report_luns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ata_scsiop_report_luns β€” Kernel API Manual πŸ’…

okay so bestie, this is the ata_scsiop_report_luns(9) page from the Kernel API Manual. not me being obsessed with a tiny function page, but here we are, and it's giving main character energy πŸ’–


πŸŽ€ NAME πŸŽ€

ata_scsiop_report_luns β€” Simulate REPORT LUNS command 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸ“ ARGUMENTS πŸ“

  • dev β€” Target device. like, the device we're targeting, periodt πŸ’…
  • cmd β€” SCSI command of interest. the SCSI command we care about, no cap πŸ‘€
  • rbuf β€” Response buffer, to which simulated SCSI cmd output is sent. literally the response buffer where the simulated SCSI cmd output goes πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

Simulate REPORT LUNS command. that's it, that's the whole description, and honestly? iconic ✨

LOCKING: spin_lock_irqsave(host lock) β€” keep this lock situation in mind, bestie πŸ”’

🌈 SEE ALSO 🌈

Kernel file ./drivers/ata/libata-scsi.c is the home base for this one, iykyk. here's the whole squad, every single reference:

okay bye bestie β€” this page is from ./drivers/ata, October 2026, and it's literally the ata_scsiop_report_luns(9) manual page πŸ’–

πŸ“¦ where this page comes from