Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sugov_work

Proto:static void sugov_work(struct kthread_work *work)

Type:void

Parameter:

TypeParameterName
struct kthread_work *work
551  sg_policy = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structsugov_policy, work)
565  raw_spin_lock_irqsave( & For shared policies , flags)
566  freq = next_freq
567  work_in_progress = false
568  raw_spin_unlock_irqrestore( & For shared policies , flags)
570  mutex_lock( & work_lock)
571  __cpufreq_driver_target(policy, freq, lowest frequency at or above target )
572  mutex_unlock( & work_lock)