ata_scsi_set...sense_fields(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ata_scsi_set_passthru_sense_fields β€” Set ATA fields in sense buffer. That's the whole name, bestie, and it's lowkey iconic ✨

Hey bestie πŸ’– welcome to the ata_scsi_set...sense_fields(9) glow-up β€” this page is straight out of the Kernel API Manual, and it's giving β€œsmall function, very specific job” energy fr fr.


✨ SYNOPSIS ✨

void ata_scsi_set_passthru_sense_fields (struct ata_queued_cmd *qc );

Yep, that's the whole signature. Return type is void, and it takes exactly one argument πŸŽ€


πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” an ATA PASS-THROUGH command. That's the one and only argument, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function populates "ATA Status Return sense data descriptor" / "Fixed format sense data" with ATA taskfile fields. That's the vibe: it's setting the ATA fields in the sense buffer πŸ’…

LOCKING: None. No locking drama, no cap πŸ’€


🌸 SEE ALSO 🌸

Kernel file ./drivers/ata/libata-scsi.c and then the whole friend group of related functions β€” every single one is here, no skipping πŸ™ˆ


Cute little sign-off, bestie: this page lives under ./drivers/ata, dated October 2026, and its page tag is ata_scsi_set...sense_fields(9) πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from