函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:18:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return in pmask the portion of a cpusets's cpus_allowed that* are online. If none are online, walk up the cpuset hierarchy* until we find one that does have some online cpus.* One way or another, we guarantee to return some non-empty subset
函数原型:static void guarantee_online_cpus(struct cpuset *cs, struct cpumask *pmask)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cpuset * | cs | |
| struct cpumask * | pmask |
| 384 | 如果此条件成立可能性小(为编译器优化)(!cs)则 |
| 名称 | 描述 |
|---|---|
| cpuset_attach | |
| cpuset_cpus_allowed | puset_cpus_allowed - return cpus_allowed mask from a tasks cpuset |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |