函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_should_wake

函数原型:static inline bool io_should_wake(struct io_wait_queue *iowq, bool noflush)

返回类型:bool

参数:

类型参数名称
struct io_wait_queue *iowq
boolnoflush
3994  ctx等于ctx
4001  返回:io_cqring_events(ctx, noflush)大于等于to_waitatomic_read( & cq_timeouts)不等于nr_timeouts
调用者
名称描述
io_wake_function
io_cqring_waitWait until events become available, if we don't already have some. The* application must reap them itself, as they reside on the shared cq ring.