Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_worker_pool - initialize a newly zalloc'd worker_pool*@pool: worker_pool to initialize* Initialize a newly zalloc'd @pool
Proto:static int init_worker_pool(struct worker_pool *pool)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct worker_pool * | pool |
3413 | Process spin lock initialization( & he pool lock ) |
3414 | I: pool ID = -1 |
3415 | I: the associated cpu = -1 |
3417 | X: flags |= POOL_DISASSOCIATED |
3418 | L: watchdog timestamp = jiffies |
3429 | ida_init( & worker IDs for task name ) |
3430 | INIT_HLIST_NODE( & PL: unbound_pool_hash node ) |
3431 | PL: refcnt for unbound pools = 1 |
3435 | If Not I: worker attributes Then Return -ENOMEM |
3437 | Return 0 |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |