函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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 int | nr_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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |