函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:call_cpuidle

函数原型:static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, int next_state)

返回类型:int

参数:

类型参数名称
struct cpuidle_driver *drv
struct cpuidle_device *dev
intnext_state
106  如果current_clr_polling_and_test()则
107  last_residency_ns等于0
108  开中断()
109  返回:负EBUSY
117  返回:cpuidle_enter(drv, dev, next_state)
调用者
名称描述
cpuidle_idle_callpuidle_idle_call - the main idle function* NOTE: no locks or semaphores should be used here* On archs that support TIF_POLLING_NRFLAG, is called with polling* set, and it returns with polling set. If it ever stops polling, it* must clear the polling bit.