函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:24:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:worker_clr_flags - clear worker flags and adjust nr_running accordingly*@worker: self*@flags: flags to clear* Clear @flags in @worker->flags and adjust nr_running accordingly.* CONTEXT:* spin_lock_irq(pool->lock)
函数原型:static inline void worker_clr_flags(struct worker *worker, unsigned int flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct worker * | worker | |
unsigned int | flags |
975 | WARN_ON_ONCE(I: worker task != 当前进程) |
984 | 如果flags按位与WORKER_NOT_RUNNING且oflags按位与WORKER_NOT_RUNNING则如果非X: flags 按位与WORKER_NOT_RUNNING的值则 |
986 | atomic_inc( & The current concurrency level. As it's likely to be accessed* from other CPUs during try_to_wake_up(), put it in a separate* cacheline.) |
名称 | 描述 |
---|---|
worker_leave_idle | worker_leave_idle - leave idle state*@worker: worker which is leaving idle state*@worker is leaving idle state. Update stats.* LOCKING:* spin_lock_irq(pool->lock). |
process_one_work | process_one_work - process single work*@worker: self*@work: work to process* Process @work |
worker_thread |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |