函数逻辑报告 |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-27 10:42:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:NULL the sd_data elements we've used to build the sched_domain and* sched_group structure so that the subsequent __free_domain_allocs()* will not free the data we're using.
函数原型:static void claim_allocations(int cpu, struct sched_domain *sd)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | cpu | |
| struct sched_domain * | sd |
| 1262 | WARN_ON_ONCE( * per_cpu_ptr(sd, cpu) != sd) |
| 1263 | * per_cpu_ptr(sd, cpu) = NULL |
| 1265 | 如果atomic_read( & ref)则 * per_cpu_ptr(sds, cpu) = NULL |
| 1268 | 如果atomic_read( & ref)则 * per_cpu_ptr(sg, cpu) = NULL |
| 1271 | 如果atomic_read( & ref)则 * per_cpu_ptr(sgc, cpu) = NULL |
| 名称 | 描述 |
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |