函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:27:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:wq_calc_node_cpumask - calculate a wq_attrs' cpumask for the specified node*@attrs: the wq_attrs of the default pwq of the target workqueue*@node: the target NUMA node*@cpu_going_down: if >= 0, the CPU to consider as offline*@cpumask: outarg, the
函数原型:static bool wq_calc_node_cpumask(const struct workqueue_attrs *attrs, int node, int cpu_going_down, cpumask_t *cpumask)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct workqueue_attrs * | attrs | |
| int | node | |
| int | cpu_going_down | |
| cpumask_t * | cpumask |
| 3821 | 如果cpu_going_down大于等于0则清空CPU信息 |
| 3824 | 如果pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.则转到:use_dfl |
| 3831 | pr_warn_once("WARNING: workqueue cpumask: online intersect > possible intersect\n") |
| 3833 | 返回:false |
| 3838 | use_dfl : |
| 3840 | 返回:false |
| 名称 | 描述 |
|---|---|
| apply_wqattrs_prepare | allocate the attrs and pwqs for later installation |
| wq_update_unbound_numa | wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |