函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bounce.c Create Date:2022-07-27 19:08:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bounce_end_io

函数原型:static void bounce_end_io(struct bio *bio, mempool_t *pool)

返回类型:void

参数:

类型参数名称
struct bio *bio
mempool_t *pool
164  bio_orig等于bi_private
166  orig_iter等于bi_iter
173  orig_vec等于bio_iter_iovec(bio_orig, orig_iter)
174  如果bv_page不等于bv_page
175  dec_zone_page_state(bv_page, NR_BOUNCE)
176  mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps.
178  bio_advance_iter(bio_orig, & orig_iter, bv_len)
181  bi_status等于bi_status
182  _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
183  _put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.
调用者
名称描述
bounce_end_io_write
bounce_end_io_write_isa
__bounce_end_io_read