函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_pwq - get an extra reference on the specified pool_workqueue*@pwq: pool_workqueue to get* Obtain an extra reference on @pwq. The caller should guarantee that*@pwq has positive refcnt and be holding the matching pool->lock.

函数原型:static void get_pwq(struct pool_workqueue *pwq)

返回类型:void

参数:

类型参数名称
struct pool_workqueue *pwq
1086  lockdep_assert_held( & he pool lock )
1087  WARN_ON_ONCE(L: reference count <= 0)
1088  L: reference count 自加
调用者
名称描述
insert_worksert_work - insert a work into a pool*@pwq: pwq @work belongs to*@work: work to insert*@head: insertion point*@extra_flags: extra WORK_STRUCT_* flags to set* Insert @work which belongs to @pwq after @head
send_mayday
rescuer_threadscuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function
wq_update_unbound_numawq_update_unbound_numa - update NUMA affinity of a wq for CPU hot[un]plug*@wq: the target workqueue*@cpu: the CPU coming up or going down*@online: whether @cpu is coming up or going down* This function is to be called from %CPU_DOWN_PREPARE, %CPU_ONLINE