atapi_drain_needed(9)

atapi_drain_needed9

Check whether data transfer may overflow

Usage

int atapi_drain_needed(struct request * rq);

Arguments

rq

request to be checked

Overview

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

LOCKING: None.

Return

1 if ; otherwise, 0.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.