Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_set_runtime_active - Force runtime status of the queue to be active*@q: the queue of the device* If the device is left runtime suspended during system suspend the resume* hook typically resumes the device and corrects runtime status* accordingly

Proto:void blk_set_runtime_active(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
210  If dev Then
211  spin_lock_irq( & queue_lock)
212  rpm_status = RPM_ACTIVE
213  pm_runtime_mark_last_busy(dev)
214  pm_request_autosuspend(dev)
215  spin_unlock_irq( & queue_lock)