函数逻辑报告 |
Source Code:block\blk-core.c |
Create Date:2022-07-27 18:34:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_clear_pm_only
函数原型:void blk_clear_pm_only(struct request_queue *q)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q |
301 | pm_only等于atomic_dec_return( & * Number of contexts that have called blk_set_pm_only(). If this * counter is above zero then only RQF_PM and RQF_PREEMPT requests are * processed.) |
302 | WARN_ON_ONCE(pm_only < 0) |
303 | 如果pm_only恒等于0则wake_up_all( & mq_freeze_wq) |
名称 | 描述 |
---|---|
blk_pre_runtime_suspend | lk_pre_runtime_suspend - Pre runtime suspend check*@q: the queue of the device* Description:* This function will check if runtime suspend is allowed for the device* by examining if there are any requests pending in the queue |
blk_post_runtime_suspend | lk_post_runtime_suspend - Post runtime suspend processing*@q: the queue of the device*@err: return value of the device's runtime_suspend function* Description:* Update the queue's runtime status according to the return value of the* device's runtime |
blk_post_runtime_resume | lk_post_runtime_resume - Post runtime resume processing*@q: the queue of the device*@err: return value of the device's runtime_resume function* Description:* Update the queue's runtime status according to the return value of the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |