Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:26:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_worker_executing_work - find worker which is executing a work*@pool: pool of interest*@work: work to find worker for* Find a worker which is executing @work on @pool by searching*@pool->busy_hash which is keyed by the address of @work

Proto:static struct worker *find_worker_executing_work(struct worker_pool *pool, struct work_struct *work)

Type:struct worker

Parameter:

TypeParameterName
struct worker_pool *pool
struct work_struct *work
1027  hash_for_each_possible - iterate over all possible objects hashing to the* same bucket*@name: hashtable to iterate*@obj: the type * to use as a loop cursor for each entry*@member: the name of the hlist_node within the struct*@key: the key of the objects (a workers is either on busy_hash or idle_list, or the manager , worker, hentry, (unsignedlong)work)
1029  If L: work being processed == work && L: current_work's fn == func Then Return worker
1033  Return NULL
Caller
NameDescribe
__queue_work
process_one_workprocess_one_work - process single work*@worker: self*@work: work to process* Process @work
start_flush_work
work_busywork_busy - test whether a work is currently pending or running*@work: the work to be tested* Test whether @work is currently pending or running. There is no* synchronization around this function and the test result is