函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:27:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_unbound_pool - get a worker_pool with the specified attributes*@attrs: the attributes of the worker_pool to get* Obtain a worker_pool which has the same attributes as @attrs, bump the* reference count and return it
函数原型:static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs)
返回类型:struct worker_pool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct workqueue_attrs * | attrs |
| 3584 | target_node等于NUMA_NO_NODE |
| 3586 | lockdep_assert_held( & wq_pool_mutex) |
| 3590 | 如果ent equality test 则 |
| 3591 | PL: refcnt for unbound pools 自加 |
| 3592 | 返回:pool |
| 3597 | 如果unbound NUMA affinity enabled 则 |
| 3598 | for_each_node(node) |
| 3608 | pool等于根据内存节点分配内存 |
| 3609 | 如果非pool或_worker_pool - initialize a newly zalloc'd worker_pool*@pool: worker_pool to initialize* Initialize a newly zalloc'd @pool小于0则转到:fail |
| 3612 | lockdep_set_subclass( & he pool lock , 1) |
| 3632 | 返回:pool |
| 3633 | fail : |
| 3636 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| alloc_unbound_pwq | btain a pool matching @attr and create a pwq associating the pool and @wq |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |