other versions
- stretch 4.9.168-1
__BLK_END_BIDI_REQUE(9) | Block Devices | __BLK_END_BIDI_REQUE(9) |
NAME¶
__blk_end_bidi_request - Complete a bidi request with queue lock heldSYNOPSIS¶
bool __blk_end_bidi_request(struct request * rq, int error, unsigned int nr_bytes, unsigned int bidi_bytes);
ARGUMENTS¶
rqthe 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_rq
DESCRIPTION¶
Identical to blk_end_bidi_request except that queue lock is assumed to be locked on entry and remains so on return.RETURN¶
false - we are done with this request true - still buffers pending for this requestCOPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |