Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_cqring_events

Proto:static unsigned io_cqring_events(struct io_ring_ctx *ctx, bool noflush)

Type:unsigned

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
boolnoflush
1134  rings = rings
1141  If noflush && Not list_empty - tests whether a list is empty*@head: the list to test. Then Return -1U
1144  Returns true if there are no backlogged entries after the flush
1147  smp_rmb()
1148  Return READ_ONCE(tail) - READ_ONCE(head)
Caller
NameDescribe
io_iopoll_check
io_should_wake
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.
io_uring_poll