Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:23:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:While queued, %WORK_STRUCT_PWQ is set and non flag bits of a work's data* contain the pointer to the queued pwq
Proto:static inline void set_work_data(struct work_struct *work, unsigned long data, unsigned long flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work | >data. These functions should only be called while the work is |
| unsigned long | data | |
| unsigned long | flags |
| 614 | WARN_ON_ONCE(!work_pending - Find out whether a work item is currently pending*@work: The work item in question(>data. These functions should only be called while the work is)) |
| 615 | atomic_long_set( & data, data | flags | work_static(>data. These functions should only be called while the work is)) |
| Name | Describe |
|---|---|
| set_work_pwq | |
| set_work_pool_and_keep_pending | |
| set_work_pool_and_clear_pending | |
| clear_work_data | |
| mark_work_canceling |
| 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 |