函数逻辑报告 |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-27 10:43:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Ensure topology masks are sane, i.e. there are no conflicts (overlaps) for* any two given CPUs at this (non-NUMA) topology level.
函数原型:static bool topology_span_sane(struct sched_domain_topology_level *tl, const struct cpumask *cpu_map, int cpu)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sched_domain_topology_level * | tl | |
const struct cpumask * | cpu_map | |
int | cpu |
1892 | 如果flags按位与SDTL_OVERLAP则返回:true |
1910 | 如果非pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input且pumask_intersects - (*src1p & *src2p) != 0*@src1p: the first input*@src2p: the second input则返回:false |
1915 | 返回:true |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |