Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:btain a pool matching @attr and create a pwq associating the pool and @wq
Proto:static struct pool_workqueue *alloc_unbound_pwq(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)
Type:struct pool_workqueue
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct workqueue_struct * | wq | |
| const struct workqueue_attrs * | attrs |
| 3775 | lockdep_assert_held( & wq_pool_mutex) |
| 3778 | If Not pool Then Return NULL |
| 3782 | If Not pwq Then |
| 3784 | Return NULL |
| 3788 | Return pwq |
| Name | Describe |
|---|---|
| apply_wqattrs_prepare | allocate the attrs and pwqs for later installation |
| wq_update_unbound_numa | wq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE |
| 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 |