函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:26:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:worker_enter_idle - enter idle state*@worker: worker which is entering idle state*@worker is entering idle state. Update stats and idle timer if* necessary.* LOCKING:* spin_lock_irq(pool->lock).
函数原型:static void worker_enter_idle(struct worker *worker)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct worker * | worker |
1762 | pool等于A: the associated pool |
1764 | 如果WARN_ON_ONCE(X: flags & WORKER_IDLE)或WARN_ON_ONCE(!链表为空 && (next || pprev))则返回 |
1770 | X: flags 或等于WORKER_IDLE |
1771 | L: currently idle workers 自加 |
1772 | L: last active timestamp 等于jiffies |
1775 | 添加链表项 |
名称 | 描述 |
---|---|
create_worker | reate_worker - create a new workqueue worker*@pool: pool the new worker will belong to* Create and start a new worker which is attached to @pool.* CONTEXT:* Might sleep. Does GFP_KERNEL allocations.* Return:* Pointer to the newly created worker. |
worker_thread |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |