Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Check whether this bio carries any data or not. A NULL bio is allowed.

Proto:static inline bool bio_has_data(struct bio *bio)

Type:bool

Parameter:

TypeParameterName
struct bio *bio
63  If bio && residual I/O count && bio_op(bio) != REQ_OP_DISCARD && bio_op(bio) != REQ_OP_SECURE_ERASE && bio_op(bio) != REQ_OP_WRITE_ZEROES Then Return true
70  Return false
Caller
NameDescribe
submit_biosubmit_bio - submit a bio to the block device layer for I/O*@bio: The &struct bio which describes the I/O* submit_bio() is very similar in purpose to generic_make_request(), and* uses that function to do most of the work. Both are fairly rough
bio_will_gap
blk_queue_bounce