Movatterモバイル変換


[0]ホーム

URL:


blk_end_request
Prev Chapter 14. Block Devices Next

Name

blk_end_request — Helper function for drivers to complete the request.

Synopsis

boolblk_end_request(struct request *rq,
 interror,
 unsigned intnr_bytes);
 

Arguments

struct request * rq

the request being processed

int error

0 for success, <0 for error

unsigned int nr_bytes

number of bytes to complete

Description

Ends I/O on a number of bytes attached torq. Ifrq has leftover, sets it up for the next range of segments.

Return

false - we are done with this requesttrue - still buffers pending for this request


Prev Up Next
blk_unprep_request Home blk_end_request_all

[8]ページ先頭

©2009-2025 Movatter.jp