函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_wqe_need_worker

函数原型:static inline bool io_wqe_need_worker(struct io_wqe *wqe, int index)__must_hold(wqe->lock)

返回类型:bool

参数:

类型参数名称
struct io_wqe *wqe
intindex
649  acct等于acct[index]
652  如果非hlist_nulls_empty( & free_list)或非io_wqe_run_queue(wqe)则返回:false
654  返回:nr_workers小于max_workers
调用者
名称描述
io_wq_managerManager thread. Tasked with creating new workers, if we need them.