atapi_drain_needed (9) - Linux Man Pages
atapi_drain_needed: Check whether data transfer may overflow
atapi_drain_needed - Check whether data transfer may overflow
int atapi_drain_needed(struct request
- request to be checked
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.