---
name: "atapi_qc_may_overflow"
section: "9"
platform: "linux"
package: "linux-manual-2.6.24"
version: "2.6.24-6~etchnhalf.9etch3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/atapi_qc_may_overflow"
---

# atapi\_qc\_may\_overflow(9)

Check whether data transfer may overflow

## NAME

atapi\_qc\_may\_overflow - Check whether data transfer may overflow

## SYNOPSIS

**int atapi\_qc\_may\_overflow(struct ata\_queued\_cmd \*** *qc***);**

## ARGUMENTS

*qc*

ATA command in question

## DESCRIPTION

ATAPI commands which transfer variable length data to host might overflow due to application error or hardare bug. This function checks whether overflow should be drained and ignored for *qc*.

## LOCKING

None.

## RETURNS

1 if *qc* may overflow; otherwise, 0.

## AUTHOR

**Jeff Garzik**

-

  Author.

## COPYRIGHT
