函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:18:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:alloc_cpumasks - allocate three cpumasks for cpuset*@cs: the cpuset that have cpumasks to be allocated.*@tmp: the tmpmasks structure pointer* Return: 0 if successful, -ENOMEM otherwise.* Only one of the two input arguments should be non-NULL.
函数原型:static inline int alloc_cpumasks(struct cpuset *cs, struct tmpmasks *tmp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuset * | cs | |
struct tmpmasks * | tmp |
464 | 如果cs则 |
468 | 否则 |
474 | 如果非zalloc_cpumask_var(pmask1, GFP_KERNEL)则返回:负ENOMEM |
477 | 如果非zalloc_cpumask_var(pmask2, GFP_KERNEL)则转到:free_one |
480 | 如果非zalloc_cpumask_var(pmask3, GFP_KERNEL)则转到:free_two |
483 | 返回:0 |
485 | free_two : |
486 | 释放CPU掩码 |
487 | free_one : |
488 | 释放CPU掩码 |
489 | 返回:负ENOMEM |
名称 | 描述 |
---|---|
alloc_trial_cpuset | alloc_trial_cpuset - allocate a trial cpuset*@cs: the cpuset that the trial cpuset duplicates |
update_prstate | pdate_prstate - update partititon_root_state* Call with cpuset_mutex held. |
cpuset_css_alloc | puset_css_alloc - allocate a cpuset css* cgrp: control group that the new cpuset will be part of |
cpuset_hotplug_workfn | CPU / memory hotplug is handled asynchronously. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |