函数逻辑报告 |
Source Code:block\blk-wbt.c |
Create Date:2022-07-27 19:42:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_limit
函数原型:static inline unsigned int get_limit(struct rq_wb *rwb, unsigned long rw)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq_wb * | rwb | |
unsigned long | rw |
466 | 如果非rwb_enabled(rwb)则返回:UINT_MAX |
469 | 如果rw按位与REQ_OP_MASK的值恒等于REQ_OP_DISCARD则返回: background writeback |
480 | 如果rw按位与REQ_HIPRIO或If a task was rate throttled in balance_dirty_pages() within the last* second or so, use that to indicate a higher cleaning rate.或current_is_kswapd()则limit等于max_depth |
482 | 否则如果rw按位与REQ_BACKGROUND或close_io(rwb)则 |
487 | limit等于 background writeback |
488 | 否则limit等于 normal writeback |
491 | 返回:limit |
名称 | 描述 |
---|---|
wbt_inflight_cb |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |