函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:26:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:put_pwq - put a pool_workqueue reference*@pwq: pool_workqueue to put* Drop a reference of @pwq. If its refcnt reaches zero, schedule its* destruction. The caller should be holding the matching pool->lock.
函数原型:static void put_pwq(struct pool_workqueue *pwq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct pool_workqueue * | pwq |
1100 | lockdep_assert_held( & he pool lock ) |
1101 | 如果此条件成立可能性大(为编译器优化)(--L: reference count )则返回 |
1103 | 如果WARN_ON_ONCE(!(flags & WQ_UNBOUND))则返回 |
名称 | 描述 |
---|---|
put_pwq_unlocked | put_pwq_unlocked - put_pwq() with surrounding pool lock/unlock*@pwq: pool_workqueue to put (can be %NULL)* put_pwq() with locking. This function also allows %NULL @pwq. |
pwq_dec_nr_in_flight | pwq_dec_nr_in_flight - decrement pwq's nr_in_flight*@pwq: pwq of interest*@color: color of work which left the queue* A work either has completed or is removed from pending queue,* decrement nr_in_flight of its pwq and handle workqueue flushing.* CONTEXT: |
rescuer_thread | scuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |