函数逻辑报告 |
Source Code:kernel\sched\cpudeadline.c |
Create Date:2022-07-27 10:42:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:pudl_set - update the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU*@dl: the new earliest deadline for this CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)
函数原型:void cpudl_set(struct cpudl *cp, int cpu, u64 dl)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cpudl * | cp | |
| int | cpu | |
| u64 | dl |
| 195 | WARN_ON(!cpu_present(cpu)) |
| 197 | raw_spin_lock_irqsave( & lock, flags) |
| 200 | 如果old_idx恒等于SPDX-License-Identifier: GPL-2.0 则 |
| 206 | cpudl_heapify_up(cp, new_idx) |
| 207 | 清空CPU信息 |
| 208 | 否则 |
| 210 | cpudl_heapify(cp, old_idx) |
| 213 | raw_spin_unlock_irqrestore( & lock, flags) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |