Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\read_write.c Create Date:2022-07-28 20:01:24
Last Modify:2020-03-18 10:18:51 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_compat_readv

Proto:static size_t do_compat_readv(compat_ulong_t fd, const struct compat_iovec __user *vec, compat_ulong_t vlen, rwf_t flags)

Type:size_t

Parameter:

TypeParameterName
compat_ulong_tfd
const struct compat_iovec __user *vec
compat_ulong_tvlen
rwf_tflags
1199  f = fdget_pos(fd)
1203  If Not file Then Return -EBADF
1205  pos = f_pos
1206  ret = compat_readv(file, vec, vlen, & pos, flags)
1207  If ret >= 0 Then f_pos = pos
1209  fdput_pos(f)
1210  Return ret
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE6