Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:allocate the attrs and pwqs for later installation
Proto:static struct apply_wqattrs_ctx *apply_wqattrs_prepare(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)
Type:struct apply_wqattrs_ctx
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct workqueue_struct * | wq | |
| const struct workqueue_attrs * | attrs |
| 3895 | lockdep_assert_held( & wq_pool_mutex) |
| 3897 | ctx = 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). |
| 3909 | copy_workqueue_attrs(new_attrs, attrs) |
| 3930 | for_each_node(node) |
| 3942 | copy_workqueue_attrs(new_attrs, attrs) |
| 3944 | attrs to apply = new_attrs |
| 3946 | arget workqueue = wq |
| 3948 | Return ctx |
| 3950 | out_free : |
| 3954 | Return NULL |
| Name | Describe |
|---|---|
| apply_workqueue_attrs_locked | |
| workqueue_apply_unbound_cpumask |
| 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 |