函数逻辑报告 | 
Source Code:kernel\workqueue.c | 
Create Date:2022-07-27 10:23:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:get_work_color
函数原型:static int get_work_color(struct work_struct *work)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct work_struct * | work | 
| 582 | 返回:The first word is the work queue pointer and the flags rolled into* one(work)右移WORK_STRUCT_COLOR_SHIFT位按位与1左移WORK_STRUCT_COLOR_BITS位的值减1 | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| process_one_work | process_one_work - process single work*@worker: self*@work: work to process* Process @work | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |