| 函数逻辑报告 | 
| Source Code: kernel\workqueue.c | Create Date:2022-07-27 10:27:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:alize newly alloced @pwq which is associated with @wq and @pool
函数原型:static void init_pwq(struct pool_workqueue *pwq, struct workqueue_struct *wq, struct worker_pool *pool)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct pool_workqueue * | pwq | |
| struct workqueue_struct * | wq | |
| struct worker_pool * | pool | 
| 3733 | BUG_ON((unsignedlong)pwq & WORK_STRUCT_FLAG_MASK) | 
| 3737 | I: the associated pool 等于pool | 
| 3738 | I: the owning workqueue 等于wq | 
| 3739 | L: flushing color 等于负1 | 
| 3740 | L: reference count 等于1 | 
| 3741 | 初始化链表头 | 
| 3742 | 初始化链表头 | 
| 3743 | 初始化链表头 | 
| 名称 | 描述 | 
|---|---|
| alloc_unbound_pwq | btain a pool matching @attr and create a pwq associating the pool and @wq | 
| alloc_and_link_pwqs | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |