函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:lk_set_pm_only - increment pm_only counter*@q: request queue pointer

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

返回类型:void

参数:

类型参数名称
struct request_queue *q
293  atomic_inc( & * 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.)
调用者
名称描述
blk_pre_runtime_suspendlk_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