1__BLK_END_REQUEST(9)             Block Devices            __BLK_END_REQUEST(9)
2
3
4

NAME

6       __blk_end_request - Helper function for drivers to complete the
7       request.
8

SYNOPSIS

10       bool __blk_end_request(struct request * rq, int error,
11                              unsigned int nr_bytes);
12

ARGUMENTS

14       rq
15           the request being processed
16
17       error
18           0 for success, < 0 for error
19
20       nr_bytes
21           number of bytes to complete
22

DESCRIPTION

24       Must be called with queue lock held unlike blk_end_request.
25

RETURN

27       false - we are done with this request true - still buffers pending for
28       this request
29
31Kernel Hackers Manual 3.10         June 2019              __BLK_END_REQUEST(9)
Impressum