函数逻辑报告 |
Source Code:block\blk-mq-sched.c |
Create Date:2022-07-27 18:50:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blk_mq_sched_bio_merge
函数原型:bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
unsigned int | nr_segs |
329 | hctx等于lk_mq_map_queue() - map (cmd_flags,type) to hardware queue*@q: request queue*@flags: request command flags*@cpu: cpu ctx |
330 | bool ret = false |
340 | 加自旋锁 |
341 | ret等于Reverse check our software queue for entries that we could potentially* merge with. Currently includes a hand-wavy stop count of 8, to not spend* too much time checking for merges. |
342 | 自旋锁解锁 |
345 | 返回:ret |
名称 | 描述 |
---|---|
blk_mq_sched_bio_merge |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |