Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-28 05:45:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bio_get_last_bvec

Proto:static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct bio_vec *bv
254  iter = bi_iter
257  If Value for the false possibility is greater at compile time(!bio_multiple_segments(bio)) Then
258  bv = bio_iovec(bio)
259  Return
262  bio_advance_iter(bio, & iter, residual I/O count )
264  If Not number of bytes completed in current bvec Then idx = current index into bvl_vec - 1
266  Else idx = current index into bvl_vec
269  bv = the actual vec list [idx]
275  If number of bytes completed in current bvec Then bv_len = number of bytes completed in current bvec
Caller
NameDescribe
bio_will_gap