other versions
- stretch 4.9.168-1
__BLK_END_REQUEST(9) | Block Devices | __BLK_END_REQUEST(9) |
NAME¶
__blk_end_request - Helper function for drivers to complete the request.SYNOPSIS¶
bool __blk_end_request(struct request * rq, int error, unsigned int nr_bytes);
ARGUMENTS¶
rqthe request being processed
error
0 for success, < 0 for error
nr_bytes
number of bytes to complete
DESCRIPTION¶
Must be called with queue lock held unlike blk_end_request.RETURN¶
false - we are done with this request true - still buffers pending for this requestCOPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |