Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_workqueue_attrs - allocate a workqueue_attrs* Allocate a new workqueue_attrs, initialize with default settings and* return it.* Return: The allocated new workqueue_attr on success. %NULL on failure.
Proto:struct workqueue_attrs *alloc_workqueue_attrs(void)
Type:struct workqueue_attrs
Parameter:Nothing
| 3353 | attrs = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 3356 | If Not alloc_cpumask_var( & @cpumask: allowed CPUs, GFP_KERNEL) Then Go to fail |
| 3360 | Return attrs |
| 3361 | fail : |
| 3363 | Return NULL |
| Name | Describe |
|---|---|
| init_worker_pool | _worker_pool - initialize a newly zalloc'd worker_pool*@pool: worker_pool to initialize* Initialize a newly zalloc'd @pool |
| apply_wqattrs_prepare | allocate the attrs and pwqs for later installation |
| alloc_workqueue | |
| wq_numa_init | |
| 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 |
| padata_setup_cpumasks |
| 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 |