函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\read_write.c Create Date:2022-07-29 10:31:28
Last Modify:2020-03-18 10:18:51 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_compat_pwritev64

函数原型:static long do_compat_pwritev64(unsigned long fd, const struct compat_iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags)

返回类型:long

参数:

类型参数名称
unsigned longfd
const struct compat_iovec __user *vec
unsigned longvlen
loff_tpos
rwf_tflags
1337  如果pos小于0则返回:负EINVAL
1339  f等于fdget(fd)
1340  如果非file则返回:负EBADF
1342  ret等于负ESPIPE
1343  如果f_mode按位与le can be accessed using pwrite ret等于compat_writev(file, vec, vlen, & pos, flags)
1345  fdput(f)
1346  返回:ret
调用者
名称描述
COMPAT_SYSCALL_DEFINE5
COMPAT_SYSCALL_DEFINE6