函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-pm.c Create Date:2022-07-27 19:48:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void blk_post_runtime_resume(struct request_queue *q, int err)

返回类型:void

参数:

类型参数名称
struct request_queue *q
interr
176  如果非dev则返回
179  spin_lock_irq( & queue_lock)
180  如果非err
181  rpm_status等于RPM_ACTIVE
182  pm_runtime_mark_last_busy(dev)
183  pm_request_autosuspend(dev)
184  否则
185  rpm_status等于RPM_SUSPENDED
187  spin_unlock_irq( & queue_lock)
189  如果非errblk_clear_pm_only(q)