函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ll_new_hw_segment

函数原型:static inline int ll_new_hw_segment(struct request *req, struct bio *bio, unsigned int nr_phys_segs)

返回类型:int

参数:

类型参数名称
struct request *req
struct bio *bio
unsigned intnr_phys_segs
574  如果* Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.nr_phys_segs大于queue_max_segments(q)则转到:no_merge
577  如果(blk_integrity_merge_bio(q, req, bio) == false)则转到:no_merge
584  * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.加等于nr_phys_segs
585  返回:1
587  no_merge :
588  req_set_nomerge(q, req)
589  返回:0
调用者
名称描述
ll_back_merge_fn
ll_front_merge_fn