Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:io_get_cqring

Proto:static struct io_uring_cqe *io_get_cqring(struct io_ring_ctx *ctx)

Type:struct io_uring_cqe

Parameter:

TypeParameterName
struct io_ring_ctx *ctx
723  rings = rings
726  tail = cached_cq_tail
732  If tail - READ_ONCE(head) == Ring sizes (constant, power of 2) Then Return NULL
735  cached_cq_tail++
736  Return Ring buffer of completion events.* The kernel writes completion events fresh every time they are* produced, so the application is allowed to modify pending* entries.[tail & cq_mask]
Caller
NameDescribe
io_cqring_overflow_flushReturns true if there are no backlogged entries after the flush
io_cqring_fill_event