函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:io_cqring_events

函数原型:static unsigned io_cqring_events(struct io_ring_ctx *ctx, bool noflush)

返回类型:unsigned

参数:

类型参数名称
struct io_ring_ctx *ctx
boolnoflush
1134  rings等于rings
1141  如果noflush且非链表为空则返回:负1U
1144  Returns true if there are no backlogged entries after the flush
1147  smp_rmb()
1148  返回:READ_ONCE(tail)减READ_ONCE(head)
调用者
名称描述
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