| Function report | 
| Source Code: block\blk-core.c | Create Date:2022-07-28 16:59:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lk_set_pm_only - increment pm_only counter*@q: request queue pointer
Proto:void blk_set_pm_only(struct request_queue *q)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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.) | 
| Name | Describe | 
|---|---|
| blk_pre_runtime_suspend | lk_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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |