函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-27 10:26:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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).

函数原型:static void worker_leave_idle(struct worker *worker)

返回类型:void

参数:

类型参数名称
struct worker *worker
1802  pool等于A: the associated pool
1804  如果WARN_ON_ONCE(!(X: flags & WORKER_IDLE))则返回
1806  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)
1807  L: currently idle workers 自减
1808  删除链表项并重新初始化
调用者
名称描述
worker_thread