1ATAPI_DRAIN_NEEDED(9) libata SCSI translation/emulat ATAPI_DRAIN_NEEDED(9)
2
3
4
6 atapi_drain_needed - Check whether data transfer may overflow
7
9 int atapi_drain_needed(struct request * rq);
10
12 rq
13 request to be checked
14
16 ATAPI commands which transfer variable length data to host might
17 overflow due to application error or hardare bug. This function checks
18 whether overflow should be drained and ignored for request.
19
21 None.
22
24 1 if ; otherwise, 0.
25
27 Jeff Garzik
28 Author.
29
31Kernel Hackers Manual 2.6. November 2011 ATAPI_DRAIN_NEEDED(9)