Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\idle.c Create Date:2022-07-28 09:37:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:call_cpuidle

Proto:static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, int next_state)

Type:int

Parameter:

TypeParameterName
struct cpuidle_driver *drv
struct cpuidle_device *dev
intnext_state
106  If current_clr_polling_and_test() Then
107  last_residency_ns = 0
108  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
109  Return -EBUSY
117  Return cpuidle_enter(drv, dev, next_state)
Caller
NameDescribe
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.