函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_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

函数原型:void bio_endio(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
1840  again :
1841  如果非bio_remaining_done(bio)则返回
1843  如果非bio_integrity_endio(bio)则返回
1846  如果bi_diskrq_qos_done_bio(queue, bio)
1857  如果bi_end_io恒等于bio_chain_endio
1858  bio等于__bio_chain_endio(bio)
1859  转到:again
1862  如果bi_diskbio_flagged(bio, BIO_TRACE_COMPLETION)则
1863  lock_bio_complete - completed all work on the block operation*@q: queue holding the block operation*@bio: block operation completed*@error: io error value* This tracepoint indicates there is no further work to do on this* block IO operation @bio.
1865  bio_clear_flag(bio, BIO_TRACE_COMPLETION)
1868  blk_throtl_bio_endio(bio)
1870  bio_uninit(bio)
1871  如果bi_end_iobi_end_io(bio)
调用者
名称描述
bio_chain_endio
req_bio_endio
generic_make_request_checks
direct_make_requestdirect_make_request - hand a buffer directly to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* This function behaves like generic_make_request(), but does not protect* against recursion
bounce_end_io
bio_integrity_prep_integrity_prep - Prepare bio for integrity I/O*@bio: bio to prepare* Description: Checks if the bio already has an integrity payload attached.* If it does, the payload has been generated by another kernel subsystem,* and we just pass it through
bio_integrity_verify_fn_integrity_verify_fn - Integrity I/O completion worker*@work: Work struct stored in bio to be verified* Description: This workqueue function is called to complete a READ* request. The function verifies the transferred integrity metadata
iomap_submit_ioendSubmit the final bio for an ioend.* If @error is non-zero, it means that we have a situation where some part of* the submission process has failed after we have marked paged for writeback* and unlocked them
bio_io_error
bio_wouldblock_error