函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static struct worker *find_worker_executing_work(struct worker_pool *pool, struct work_struct *work)

返回类型:struct worker

参数:

类型参数名称
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  如果L: work being processed 恒等于workL: current_work's fn 恒等于func则返回:worker
1033  返回:NULL
调用者
名称描述
__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