Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-core.c Create Date:2022-07-28 16:59:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:req_bio_endio

Proto:static void req_bio_endio(struct request *rq, struct bio *bio, unsigned int nbytes, blk_status_t error)

Type:void

Parameter:

TypeParameterName
struct request *rq
struct bio *bio
unsigned intnbytes
blk_status_terror
235  If error Then bi_status = error
238  If Value for the false possibility is greater at compile time(rq_flags & don't warn about errors ) Then bio_set_flag(bio, BIO_QUIET)
241  _advance - increment/complete a bio by some number of bytes*@bio: bio to advance*@bytes: number of bytes to complete* This updates bi_sector, bi_size and bi_idx; if the number of bytes to* complete doesn't align with a bvec boundary, then bv_len and
244  If residual I/O count == 0 && Not (rq_flags & quest for flush sequence ) Then _endio - end I/O on a bio*@bio: bio* Description:* bio_endio() will end I/O on the whole bio. bio_endio() is the preferred* way to end I/O on a bio. No one should call bi_end_io() directly on a
Caller
NameDescribe
blk_update_requestlk_update_request - Special helper function for request stacking drivers*@req: the request being processed*@error: block status code*@nr_bytes: number of bytes to complete @req* Description:* Ends I/O on a number of bytes attached to @req, but doesn't