函数逻辑报告 |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-27 12:19:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hotplug_update_tasks
函数原型:static void hotplug_update_tasks(struct cpuset *cs, struct cpumask *new_cpus, nodemask_t *new_mems, bool cpus_updated, bool mems_updated)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cpuset * | cs | |
struct cpumask * | new_cpus | |
nodemask_t * | new_mems | |
bool | cpus_updated | |
bool | mems_updated |
2983 | 如果pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.则pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask |
2985 | 如果nodes_empty( * new_mems)则new_mems等于effective_mems |
2988 | spin_lock_irq( & callback_lock) |
2990 | effective_mems等于new_mems |
2991 | spin_unlock_irq( & callback_lock) |
名称 | 描述 |
---|---|
cpuset_hotplug_update_tasks | puset_hotplug_update_tasks - update tasks in a cpuset for hotunplug*@cs: cpuset in interest*@tmp: the tmpmasks structure pointer* Compare @cs's cpu and mem masks against top_cpuset and if some have gone* offline, update @cs accordingly |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |