ata_ncq_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ata_ncq_enabled β€” test whether NCQ is enabled. 🫢✨

okay bestie, this is the ata_ncq_enabled(9) page from the Kernel API Manual, and it's short, sweet, and lowkey main character energy. πŸ’…

✨ SYNOPSIS ✨

bool ata_ncq_enabled (struct ata_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the ATA device to test. πŸ¦‹

🌸 DESCRIPTION 🌸

okay so the description is literally one locking note, no cap:

LOCKING: spin_lock_irqsave(host lock)

that's it, that's the tea. πŸ“

πŸ’« RETURN πŸ’«

true if NCQ is enabled for dev, false otherwise. periodt. πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/libata.h plus these besties:


okay that's the whole page, mwah πŸ’‹ β€” sourced from ./include/linux, dated October 2026, and it's the ata_ncq_enabled(9) page from the Kernel API Manual. πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from