Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static void put_pwq(struct pool_workqueue *pwq)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pool_workqueue * | pwq |
| 1100 | lockdep_assert_held( & he pool lock ) |
| 1101 | If Value is more likely to compile time(--L: reference count ) Then Return |
| 1103 | If WARN_ON_ONCE(!(flags & WQ_UNBOUND)) Then Return |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |