Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_readv

Proto:ssize_t vfs_readv(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
const struct iovec __user *vec
unsigned longvlen
loff_t *pos
rwf_tflags
991  iov = iovstack
995  ret = mport_iovec() - Copy an array of &struct iovec from userspace* into the kernel, check that it is valid, and initialize a new* &struct iov_iter iterator to access it.*@type: One of %READ or %WRITE.*@uvector: Pointer to the userspace array.
996  If ret >= 0 Then
997  ret = do_iter_read(file, & iter, pos, flags)
998  kfree(iov)
1001  Return ret
Caller
NameDescribe
do_readv
do_preadv
kernel_readv