Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_io_getevents

Proto:static long do_io_getevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct timespec64 *ts)

Type:long

Parameter:

TypeParameterName
aio_context_tctx_id
longmin_nr
longnr
struct io_event __user *events
struct timespec64 *ts
2050  until = If ts Then vert a timespec64 to ktime_t format: Else KTIME_MAX
2051  ioctx = lookup_ioctx(ctx_id)
2052  ret = -EINVAL
2054  If Value is more likely to compile time(ioctx) Then
2055  If Value is more likely to compile time(min_nr <= nr && min_nr >= 0) Then ret = read_events(ioctx, min_nr, nr, events, until)
2057  percpu_ref_put - decrement a percpu refcount*@ref: percpu_ref to put* Decrement the refcount, and if 0, call the release function (which was passed* to percpu_ref_init())* This function is safe to call as long as @ref is between init and exit.
2060  Return ret
Caller
NameDescribe
SYSCALL_DEFINE6
COMPAT_SYSCALL_DEFINE6