Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs)
Type:struct worker_pool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct workqueue_attrs * | attrs |
3584 | target_node = NUMA_NO_NODE |
3586 | lockdep_assert_held( & wq_pool_mutex) |
3590 | If ent equality test Then |
3591 | PL: refcnt for unbound pools ++ |
3592 | Return pool |
3597 | If unbound NUMA affinity enabled Then |
3598 | for_each_node(node) |
3609 | If Not pool || _worker_pool - initialize a newly zalloc'd worker_pool*@pool: worker_pool to initialize* Initialize a newly zalloc'd @pool < 0 Then Go to fail |
3612 | lockdep_set_subclass( & he pool lock , 1) |
3632 | Return pool |
3633 | fail : |
3636 | Return NULL |
Name | Describe |
---|---|
alloc_unbound_pwq | btain a pool matching @attr and create a pwq associating the pool and @wq |
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 |