Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-pm.c Create Date:2022-07-28 18:13:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void blk_post_runtime_resume(struct request_queue *q, int err)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
interr
176  If Not dev Then Return
179  spin_lock_irq( & queue_lock)
180  If Not err Then
181  rpm_status = RPM_ACTIVE
182  pm_runtime_mark_last_busy(dev)
183  pm_request_autosuspend(dev)
184  Else
185  rpm_status = RPM_SUSPENDED
187  spin_unlock_irq( & queue_lock)
189  If Not err Then blk_clear_pm_only(q)