函数逻辑报告 |
Source Code:lib\cpu_rmap.c |
Create Date:2022-07-27 08:16:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:pu_rmap_update - update CPU rmap following a change of object affinity*@rmap: CPU rmap to update*@index: Index of object whose affinity changed*@affinity: New CPU affinity of object
函数原型:int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, const struct cpumask *affinity)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpu_rmap * | rmap | |
u16 | index | |
const struct cpumask * | affinity |
161 | 如果此条件成立可能性小(为编译器优化)(!zalloc_cpumask_var( & update_mask, GFP_KERNEL))则返回:负ENOMEM |
169 | dist等于CPU_RMAP_DIST_INF |
170 | 设置CPU信息 |
174 | debug_print_rmap(rmap, "after invalidating old distances") |
181 | dist等于0 |
186 | debug_print_rmap(rmap, "after updating neighbours") |
190 | 如果Reevaluate nearest object for given CPU, comparing with the given* neighbours at the given distance.则继续下一循环 |
193 | 如果Reevaluate nearest object for given CPU, comparing with the given* neighbours at the given distance.则继续下一循环 |
196 | 如果Reevaluate nearest object for given CPU, comparing with the given* neighbours at the given distance.则继续下一循环 |
204 | debug_print_rmap(rmap, "after copying neighbours") |
206 | 释放CPU掩码 |
207 | 返回:0 |
名称 | 描述 |
---|---|
irq_cpu_rmap_notify | IRQ更新时的回调 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |