atapi_qc_may_overflow(9)

atapi_qc_may_overflow9

Check whether data transfer may overflow

Usage

int atapi_qc_may_overflow(struct ata_queued_cmd * qc);

Arguments

qc

ATA command in question

Overview

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.

From linux-manual-2.6.24 2.6.24-6~etchnhalf.9etch3 in Debian 4.0 (Etch). Parsed by carta from the page's man source.