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:read_events

Proto:static long read_events(struct kioctx *ctx, long min_nr, long nr, struct io_event __user *event, ktime_t until)

Type:long

Parameter:

TypeParameterName
struct kioctx *ctx
longmin_nr
longnr
struct io_event __user *event
ktime_tuntil
1274  ret = 0
1290  If until == 0 Then aio_read_events(ctx, min_nr, nr, event, & ret)
1292  Else wait_event_interruptible_hrtimeout - sleep until a condition gets true or a timeout elapses*@wq: the waitqueue to wait on*@condition: a C expression for the event to wait for*@timeout: timeout, as a ktime_t* The process is put to sleep (wait, aio_read_events(ctx, min_nr, nr, event, & ret), until)
1296  Return ret
Caller
NameDescribe
do_io_getevents