Query: blk_end_bidi_request
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLK_END_BIDI_REQUEST(9) Block Devices BLK_END_BIDI_REQUEST(9)NAMEblk_end_bidi_request - Complete a bidi requestSYNOPSISbool blk_end_bidi_request(struct request * rq, int error, unsigned int nr_bytes, unsigned int bidi_bytes);ARGUMENTSrq the request to complete error 0 for success, < 0 for error nr_bytes number of bytes to complete rq bidi_bytes number of bytes to complete rq->next_rqDESCRIPTIONEnds I/O on a number of bytes attached to rq and rq->next_rq. Drivers that supports bidi can safely call this member for any type of request, bidi or uni. In the later case bidi_bytes is just ignored.RETURNfalse - we are done with this request true - still buffers pending for this requestCOPYRIGHTKernel Hackers Manual 3.10 June 2014 BLK_END_BIDI_REQUEST(9)