函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:27:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:allocate the attrs and pwqs for later installation
函数原型:static struct apply_wqattrs_ctx *apply_wqattrs_prepare(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)
返回类型:struct apply_wqattrs_ctx
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct workqueue_struct * | wq | |
| const struct workqueue_attrs * | attrs |
| 3895 | lockdep_assert_held( & wq_pool_mutex) |
| 3909 | copy_workqueue_attrs(new_attrs, attrs) |
| 3911 | 如果此条件成立可能性小(为编译器优化)(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 |
| 3930 | for_each_node(node) |
| 3942 | copy_workqueue_attrs(new_attrs, attrs) |
| 3944 | attrs to apply 等于new_attrs |
| 3946 | arget workqueue 等于wq |
| 3948 | 返回:ctx |
| 3950 | out_free : |
| 3954 | 返回:NULL |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |