ata_hsm_ok_in_wq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_hsm_ok_in_wq β€” the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the ata_hsm_ok_in_wq(9) page!! it's a tiny one but honestly it's giving "small but mighty" energy, and yes it lives in the Kernel API Manual ✨ grab a lil snack and let's go πŸ“


✨ NAME ✨

ata_hsm_ok_in_wq β€” check if the qc can be handled in the workqueue 🫢


🌸 SYNOPSIS 🌸

int ata_hsm_ok_in_wq (struct ata_port *ap , struct ata_queued_cmd *qc );

that's literally it. look at her go πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ap β€” the target ata_port πŸ‘‘ this is the port we're looking at, main character energy
  • qc β€” qc on going πŸŒ€ the queued command that's currently in flight

⭐ RETURN ⭐

1 if it's ok in the workqueue, 0 otherwise. fr fr, that's the whole vibe check: yes or no, no in-between πŸ™ˆ


πŸ’– SEE ALSO πŸ’–

the whole libata-sff friend group 😭 they all live in the kernel file ./drivers/ata/libata-sff.c and honestly they're all iconic in their own way:

like, that's the whole squad πŸ’œ no gatekeeping here, read them all, iykyk πŸ”₯


lowkey a friendly reminder that this page is exactly one function, no options, no env vars, no exit statuses β€” she's simple and she slays πŸ’…

sign-off time!! 🧚 this lil page comes from ./drivers/ata, dated October 2026, and it's filed under ata_hsm_ok_in_wq(9) β€” go off bestie, you understood the whole thing πŸŽ€πŸ’–

πŸ“¦ where this page comes from