Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_next_bio

Proto:struct bio *blk_next_bio(struct bio *bio, unsigned int nr_pages, gfp_t gfp)

Type:struct bio

Parameter:

TypeParameterName
struct bio *bio
unsigned intnr_pages
gfp_tgfp
15  new = bio_alloc(gfp, nr_pages)
17  If bio Then
18  _chain - chain bio completions*@bio: the target bio*@parent: the @bio's parent bio* The caller won't have a bi_end_io called when @bio completes - instead,*@parent's bi_end_io won't be called until both @parent and @bio have
19  submit_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
22  Return new
Caller
NameDescribe
__blkdev_issue_discard
__blkdev_issue_write_same__blkdev_issue_write_same - generate number of bios with same page*@bdev: target blockdev*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@page: page containing data to write*@biop: pointer to
__blkdev_issue_write_zeroes
__blkdev_issue_zero_pages
blkdev_zone_mgmtlkdev_zone_mgmt - Execute a zone management operation on a range of zones*@bdev: Target block device*@op: Operation to be performed on the zones*@sector: Start sector of the first zone to operate on*@nr_sectors: Number of sectors, should be at least the