函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Iterate the passed in list and call the specific function for each* worker that isn't exiting

函数原型:static bool io_wq_for_each_worker(struct io_wqe *wqe, bool (*func)(struct io_worker *, void *), void *data)

返回类型:bool

参数:

类型参数名称
struct io_wqe *wqe
bool (*func
void *data
800  bool ret = false
803  如果io_worker_get(worker)则
805  如果taskret等于func(worker, data)
807  io_worker_release(worker)
808  如果ret退出
813  返回:ret
调用者
名称描述
io_wq_cancel_all
io_wqe_cancel_cb_work
io_wqe_cancel_work
io_wq_destroy