函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pudl_clear - remove a CPU from the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)

函数原型:void cpudl_clear(struct cpudl *cp, int cpu)

返回类型:void

参数:

类型参数名称
struct cpudl *cp
intcpu
155  WARN_ON(!cpu_present(cpu))
157  raw_spin_lock_irqsave( & lock, flags)
159  old_idx等于idx
160  如果old_idx恒等于SPDX-License-Identifier: GPL-2.0 则否则
167  new_cpu等于cpu
168  dl等于dl
169  cpu等于new_cpu
170  size自减
171  idx等于old_idx
172  idx等于SPDX-License-Identifier: GPL-2.0
173  cpudl_heapify(cp, old_idx)
175  设置CPU信息
177  raw_spin_unlock_irqrestore( & lock, flags)