函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-27 18:30:45
Last Modify:2020-03-17 23:13:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:submit_bio_wait - submit a bio, and wait until it completes*@bio: The &struct bio which describes the I/O* Simple wrapper around submit_bio()

函数原型:int submit_bio_wait(struct bio *bio)

返回类型:int

参数:

类型参数名称
struct bio *bio
1021  DECLARE_COMPLETION_ONSTACK_MAP(done, lockdep_map)
1023  bi_private等于done
1024  bi_end_io等于submit_bio_wait_endio
1025  bottom bits req flags, * top bits REQ_OP. Use * accessors.或等于REQ_SYNC
1026  submit_bio(bio)
1027  wait_for_completion_io: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout. The caller is accounted as waiting
1029  返回:blk_status_to_errno(bi_status)
调用者
名称描述
blkdev_issue_flushlkdev_issue_flush - queue a flush*@bdev: blockdev to issue flush for*@gfp_mask: memory allocation flags (for bio_alloc)*@error_sector: error sector* Description:* Issue a flush for the block device in question
blkdev_issue_discardlkdev_issue_discard - queue a discard*@bdev: blockdev to issue discard for*@sector: start sector*@nr_sects: number of sectors to discard*@gfp_mask: memory allocation flags (for bio_alloc)*@flags: BLKDEV_DISCARD_* flags to control behaviour* Description:
blkdev_issue_write_samelkdev_issue_write_same - queue a write same operation*@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* Description:
blkdev_issue_zerooutlkdev_issue_zeroout - zero-fill a block range*@bdev: blockdev to write*@sector: start sector*@nr_sects: number of sectors to write*@gfp_mask: memory allocation flags (for bio_alloc)*@flags: controls detailed behavior* Description:* Zero-fill a block
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
iomap_read_page_sync
hib_submit_io