Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:23:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_work_pool_id - return the worker pool ID a given work is associated with*@work: the work item of interest* Return: The worker_pool ID @work was last associated with.* %WORK_OFFQ_POOL_NONE if none.
Proto:static int get_work_pool_id(struct work_struct *work)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work |
| 732 | data = atomic_long_read( & data) |
| 734 | If data & WORK_STRUCT_PWQ Then Return id |
| 738 | Return data >> WORK_OFFQ_POOL_SHIFT |
| Name | Describe |
|---|---|
| mark_work_canceling | |
| __cancel_work |
| 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 |