函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:23:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_work_pool - return the worker_pool a given work was associated with*@work: the work item of interest* Pools are created and destroyed under wq_pool_mutex, and allows read* access under RCU read lock. As such, this function should be
函数原型:static struct worker_pool *get_work_pool(struct work_struct *work)
返回类型:struct worker_pool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct work_struct * | work |
707 | data等于atomic_long_read( & data) |
712 | 如果data按位与WORK_STRUCT_PWQ则返回:pool |
716 | pool_id等于data右移WORK_OFFQ_POOL_SHIFT位 |
717 | 如果pool_id恒等于WORK_OFFQ_POOL_NONE则返回:NULL |
名称 | 描述 |
---|---|
try_to_grab_pending | ry_to_grab_pending - steal work item from worklist and disable irq*@work: work item to steal*@is_dwork: @work is a delayed_work*@flags: place to store irq state* Try to grab PENDING bit of @work. This function can handle @work in any |
__queue_work | |
start_flush_work | |
work_busy | work_busy - test whether a work is currently pending or running*@work: the work to be tested* Test whether @work is currently pending or running. There is no* synchronization around this function and the test result is |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |