函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void blk_set_runtime_active(struct request_queue *q)

返回类型:void

参数:

类型参数名称
struct request_queue *q
210  如果dev
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)