Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aio_read_events

Proto:static bool aio_read_events(struct kioctx *ctx, long min_nr, long nr, struct io_event __user *event, long *i)

Type:bool

Parameter:

TypeParameterName
struct kioctx *ctx
longmin_nr
longnr
struct io_event __user *event
long *i
1256  ret = aio_read_events_ring* Pull an event off of the ioctx's event ring. Returns the number of* events fetched
1258  If ret > 0 Then i += ret
1261  If Value for the false possibility is greater at compile time(atomic_read( & dead)) Then ret = -EINVAL
1264  If Not i Then i = ret
1267  Return ret < 0 || i >= min_nr
Caller
NameDescribe
read_events