Query: atapi_drain_needed
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATAPI_DRAIN_NEEDED(9) libata SCSI translation/emulat ATAPI_DRAIN_NEEDED(9)NAMEatapi_drain_needed - Check whether data transfer may overflowSYNOPSISint atapi_drain_needed(struct request * rq);ARGUMENTSrq request to be checkedDESCRIPTIONATAPI 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.LOCKINGNone.RETURNS1 if ; otherwise, 0.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATAPI_DRAIN_NEEDED(9)