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

NAME

6       blk_end_bidi_request - Complete a bidi request
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

28       Ends I/O on a number of bytes attached to rq and rq->next_rq. Drivers
29       that supports bidi can safely call this member for any type of request,
30       bidi or uni. In the later case bidi_bytes is just ignored.
31

RETURN

33       false - we are done with this request true - still buffers pending for
34       this request
35
37Kernel Hackers Manual 2.6.         June 2019           BLK_END_BIDI_REQUEST(9)
Impressum