blk_end_bidi_request

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

blk_end_bidi_request - Helper function for drivers to complete bidi request.

SYNOPSIS

int blk_end_bidi_request(struct request * rq, int error, unsigned int nr_bytes, unsigned int bidi_bytes);

ARGUMENTS

rq

the bidi request being processed

error


0 for success, < 0 for error

nr_bytes

number of bytes to complete rq

bidi_bytes

number of bytes to complete rq->next_rq

DESCRIPTION

Ends I/O on a number of bytes attached to rq and rq->next_rq.

RETURN

0 - we are done with this request 1 - still buffers pending for this request