函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-27 06:46:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bio_advance_iter

函数原型:static inline void bio_advance_iter(struct bio *bio, struct bvec_iter *iter, unsigned bytes)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct bvec_iter *iter
unsignedbytes
144  device address in 512 byte sectors 加等于bytes右移9位
146  如果bio_no_advance_iter(bio)则 residual I/O count 减等于bytes
148  否则bvec_iter_advance( the actual vec list , iter, bytes)
调用者
名称描述
bio_advance_advance - increment/complete a bio by some number of bytes*@bio: bio to advance*@bytes: number of bytes to complete* This updates bi_sector, bi_size and bi_idx; if the number of bytes to* complete doesn't align with a bvec boundary, then bv_len and
bio_copy_data_iter
copy_to_high_bio_irqSimple bounce buffer support for highmem pages. Depending on the* queue gfp mask set, *to may or may not be a highmem page. kmap it* always, it will do the Right Thing
bounce_end_io
bio_get_last_bvec