函数逻辑报告 |
Source Code:block\blk-wbt.c |
Create Date:2022-07-27 19:42:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bio_to_wbt_flags
函数原型:static enum wbt_flags bio_to_wbt_flags(struct rq_wb *rwb, struct bio *bio)
返回类型:enum wbt_flags
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq_wb * | rwb | |
struct bio * | bio |
549 | flags等于0 |
551 | 如果非rwb_enabled(rwb)则返回:0 |
554 | 如果bio_op(bio)恒等于 read sectors from the device 则 |
556 | 否则如果wbt_should_throttle(rwb, bio)则 |
557 | 如果current_is_kswapd()则flags或等于 write, from kswapd |
559 | 如果bio_op(bio)恒等于REQ_OP_DISCARD则flags或等于 discard |
563 | 返回:flags |
名称 | 描述 |
---|---|
wbt_cleanup | |
wbt_wait | Returns true if the IO request should be accounted, false if not.* May sleep, if we have exceeded the writeback limits. Caller can pass* in an irq held spinlock, if it holds one when calling this function.* If we do sleep, we'll release and re-grab it. |
wbt_track |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |