函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:23:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:worker_pool_assign_id - allocate ID and assing it to @pool*@pool: the pool pointer of interest* Returns 0 if ID in [0, WORK_OFFQ_POOL_NONE) is allocated and assigned* successfully, -errno on failure.
函数原型:static int worker_pool_assign_id(struct worker_pool *pool)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct worker_pool * | pool |
| 535 | lockdep_assert_held( & wq_pool_mutex) |
| 539 | 如果ret大于等于0则 |
| 540 | I: pool ID 等于ret |
| 541 | 返回:0 |
| 543 | 返回:ret |
| 名称 | 描述 |
|---|---|
| get_unbound_pool | 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 |
| workqueue_init_early | workqueue_init_early - early init for workqueue subsystem* This is the first half of two-staged workqueue subsystem initialization* and invoked as soon as the bare basics - memory allocation, cpumasks and* idr are up |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |