函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:read_events

函数原型:static long read_events(struct kioctx *ctx, long min_nr, long nr, struct io_event __user *event, ktime_t until)

返回类型:long

参数:

类型参数名称
struct kioctx *ctx
longmin_nr
longnr
struct io_event __user *event
ktime_tuntil
1274  ret等于0
1290  如果until恒等于0则aio_read_events(ctx, min_nr, nr, event, & ret)
1292  否则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  返回:ret
调用者
名称描述
do_io_getevents