函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bio_will_gap

函数原型:static inline bool bio_will_gap(struct request_queue *q, struct request *prev_rq, struct bio *prev, struct bio *next)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
struct request *prev_rq
struct bio *prev
struct bio *next
20  如果非Check whether this bio carries any data or not. A NULL bio is allowed.或非queue_virt_boundary(q)则返回:false
28  如果prev_rqbio_get_first_bvec(bio, & pb)
30  否则bio_get_first_bvec(prev, & pb)
32  如果bv_offset按位与queue_virt_boundary(q)则返回:true
44  bio_get_last_bvec(prev, & pb)
45  bio_get_first_bvec(next, & nb)
46  如果biovec_phys_mergeable(q, & pb, & nb)则返回:false
48  返回:__bvec_gap_to_prev(q, & pb, bv_offset)
调用者
名称描述
req_gap_back_merge
req_gap_front_merge