---
name: "ata_hsm_qc_complete"
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_qc_complete"
---

# ata\_hsm\_qc\_complete(9)

finish a qc running on standard HSM

## NAME

ata\_hsm\_qc\_complete - finish a qc running on standard HSM

## SYNOPSIS

**void ata\_hsm\_qc\_complete(struct ata\_queued\_cmd \*** *qc***, int** *in\_wq***);**

## ARGUMENTS

*qc*

Command to complete

*in\_wq*

1 if called from workqueue, 0 otherwise

## DESCRIPTION

Finish *qc* which is running on standard HSM.

## LOCKING

If *in\_wq* is zero, spin\_lock\_irqsave(host\_set lock). Otherwise, none on entry and grabs host lock.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
