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

Proto:static size_t compat_readv(struct file *file, const struct compat_iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags)

Type:size_t

Parameter:

TypeParameterName
struct file *file
const struct compat_iovec __user *vec
unsigned longvlen
loff_t *pos
rwf_tflags
1180  iov = iovstack
1184  ret = compat_import_iovec(generic data direction definitions , vec, vlen, UIO_MAXIOV shall be at least 16 1003.1g (5.4.1.1), & iov, & iter)
1185  If ret >= 0 Then
1186  ret = do_iter_read(file, & iter, pos, flags)
1187  kfree(iov)
1189  If ret > 0 Then add_rchar(current process, ret)
1191  inc_syscr(current process)
1192  Return ret
Caller
NameDescribe
do_compat_readv
do_compat_preadv64