Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io-wq.c Create Date:2022-07-28 20:22:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Iterate the passed in list and call the specific function for each* worker that isn't exiting

Proto:static bool io_wq_for_each_worker(struct io_wqe *wqe, bool (*func)(struct io_worker *, void *), void *data)

Type:bool

Parameter:

TypeParameterName
struct io_wqe *wqe
bool (*func
void *data
800  bool ret = false
803  If io_worker_get(worker) Then
805  If task Then ret = func(worker, data)
807  io_worker_release(worker)
808  If ret Then Break
813  Return ret
Caller
NameDescribe
io_wq_cancel_all
io_wqe_cancel_cb_work
io_wqe_cancel_work
io_wq_destroy