函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:No work, worker going to sleep

函数原型:static bool __io_worker_idle(struct io_wqe *wqe, struct io_worker *worker)__must_hold(wqe->lock)

返回类型:bool

参数:

类型参数名称
struct io_wqe *wqe
struct io_worker *worker
370  如果非flags按位与IO_WORKER_F_FREE的值则
371  flags或等于IO_WORKER_F_FREE
372  hlist_nulls_add_head_rcu*@n: the element to add to the hash list
375  返回:Note: drops the wqe->lock if returning true! The caller must re-acquire* the lock in that case. Some callers need to restart handling if this* happens, so we can't just re-acquire the lock on behalf of the caller.
调用者
名称描述
io_wqe_worker