函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_compat_preadv64

函数原型:static long do_compat_preadv64(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
1228  如果pos小于0则返回:负EINVAL
1230  f等于fdget(fd)
1231  如果非file则返回:负EBADF
1233  ret等于负ESPIPE
1234  如果f_mode按位与le can be accessed using pread ret等于compat_readv(file, vec, vlen, & pos, flags)
1236  fdput(f)
1237  返回:ret
调用者
名称描述
COMPAT_SYSCALL_DEFINE5
COMPAT_SYSCALL_DEFINE6