other versions
- wheezy 3.2.78-1
ATAPI_DRAIN_NEEDED(9) | libata SCSI translation/emulat | ATAPI_DRAIN_NEEDED(9) |
NAME¶
atapi_drain_needed - Check whether data transfer may overflowSYNOPSIS¶
int
atapi_drain_needed(struct request * rq);
ARGUMENTS¶
rqrequest to be checked
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 request.LOCKING¶
None.RETURNS¶
1 if ; otherwise, 0.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |