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
19 0 for success, < 0 for error
20
21 nr_bytes
22 number of bytes to complete rq
23
24 bidi_bytes
25 number of bytes to complete rq->next_rq
26
28 Identical to blk_end_bidi_request except that queue lock is assumed to
29 be locked on entry and remains so on return.
30
32 false - we are done with this request true - still buffers pending for
33 this request
34
36Kernel Hackers Manual 2.6. June 2019 __BLK_END_BIDI_REQUE(9)