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_pwritev64

Proto:static long do_compat_pwritev64(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
1337  If pos < 0 Then Return -EINVAL
1339  f = fdget(fd)
1340  If Not file Then Return -EBADF
1342  ret = -ESPIPE
1343  If f_mode & le can be accessed using pwrite Then ret = compat_writev(file, vec, vlen, & pos, flags)
1345  fdput(f)
1346  Return ret
Caller
NameDescribe
COMPAT_SYSCALL_DEFINE5
COMPAT_SYSCALL_DEFINE6