函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_work

函数原型:static void sugov_work(struct kthread_work *work)

返回类型:void

参数:

类型参数名称
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)