__blk_end_request(9)

NAME

__blk_end_request - Helper function for drivers to complete the
request.

SYNOPSIS

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

ARGUMENTS

rq
the request being processed
error
0 for success, < 0 for error
nr_bytes
number of bytes to complete

DESCRIPTION

Must be called with queue lock held unlike blk_end_request.

RETURN

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

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout