函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_get_cqring

函数原型:static struct io_uring_cqe *io_get_cqring(struct io_ring_ctx *ctx)

返回类型:struct io_uring_cqe

参数:

类型参数名称
struct io_ring_ctx *ctx
723  rings等于rings
726  tail等于cached_cq_tail
732  如果tailREAD_ONCE(head)恒等于Ring sizes (constant, power of 2) 则返回:NULL
735  cached_cq_tail自加
736  返回: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]
调用者
名称描述
io_cqring_overflow_flushReturns true if there are no backlogged entries after the flush
io_cqring_fill_event