---
name: "ata_hsm_ok_in_wq"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_hsm_ok_in_wq"
---

# ata\_hsm\_ok\_in\_wq(9)

Check if the qc can be handled in the workqueue.

## 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***);**

## ARGUMENTS

*ap*

the target ata\_port

*qc*

qc on going

## RETURNS

1 if ok in workqueue, 0 otherwise.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
