1__BLK_END_BIDI_REQUE(9) Block Devices __BLK_END_BIDI_REQUE(9)
2
3
4
6 __blk_end_bidi_request - Complete a bidi request with queue lock held
7
9 bool __blk_end_bidi_request(struct request * rq, int error,
10 unsigned int nr_bytes,
11 unsigned int bidi_bytes);
12
14 rq
15 the request to complete
16
17 error
18 0 for success, < 0 for error
19
20 nr_bytes
21 number of bytes to complete rq
22
23 bidi_bytes
24 number of bytes to complete rq->next_rq
25
27 Identical to blk_end_bidi_request except that queue lock is assumed to
28 be locked on entry and remains so on return.
29
31 false - we are done with this request true - still buffers pending for
32 this request
33
35Kernel Hackers Manual 3.10 June 2019 __BLK_END_BIDI_REQUE(9)