Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_compat_preadv64

Proto:static long do_compat_preadv64(unsigned long fd, const struct compat_iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags)

Type:long

Parameter:

TypeParameterName
unsigned longfd
const struct compat_iovec __user *vec
unsigned longvlen
loff_tpos
rwf_tflags
1228  If pos < 0 Then Return -EINVAL
1230  f = fdget(fd)
1231  If Not file Then Return -EBADF
1233  ret = -ESPIPE
1234  If f_mode & le can be accessed using pread Then ret = compat_readv(file, vec, vlen, & pos, flags)
1236  fdput(f)
1237  Return ret
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE5
COMPAT_SYSCALL_DEFINE6