Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_should_wake

Proto:static inline bool io_should_wake(struct io_wait_queue *iowq, bool noflush)

Type:bool

Parameter:

TypeParameterName
struct io_wait_queue *iowq
boolnoflush
3994  ctx = ctx
4001  Return io_cqring_events(ctx, noflush) >= to_wait || atomic_read( & cq_timeouts) != nr_timeouts
Caller
NameDescribe
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.