| Function report | 
| Source Code: kernel\workqueue.c | Create Date:2022-07-28 09:27:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:apply_workqueue_attrs_locked
Proto:static int apply_workqueue_attrs_locked(struct workqueue_struct *wq, const struct workqueue_attrs *attrs)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct workqueue_struct * | wq | |
| const struct workqueue_attrs * | attrs | 
| 3998 | If WARN_ON(!(hot fields used during command issue, aligned to cacheline & WQ_UNBOUND)) Then Return -EINVAL | 
| 4002 | If Not list_empty - tests whether a list is empty*@head: the list to test. Then | 
| 4003 | If WARN_ON(hot fields used during command issue, aligned to cacheline & __WQ_ORDERED_EXPLICIT) Then Return -EINVAL | 
| 4017 | Return 0 | 
| Name | Describe | 
|---|---|
| apply_workqueue_attrs | apply_workqueue_attrs - apply new workqueue_attrs to an unbound workqueue*@wq: the target workqueue*@attrs: the workqueue_attrs to apply, allocated with alloc_workqueue_attrs()* Apply @attrs to an unbound workqueue @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 |