函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-27 07:21:20
Last Modify:2022-05-21 11:43:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:compat_import_iovec

函数原型:ssize_t compat_import_iovec(int type, const struct compat_iovec __user *uvector, unsigned nr_segs, unsigned fast_segs, struct iovec **iov, struct iov_iter *i)

返回类型:ssize_t

参数:

类型参数名称
inttype
const struct compat_iovec __user *uvector
unsignednr_segs
unsignedfast_segs
struct iovec **iov
struct iov_iter *i
1703  n等于compat_rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, * iov, & p)
1705  如果n小于0则
1706  如果p不等于iovkfree(p)
1708  * iov = NULL
1709  返回:n
1711  iov_iter_init(i, type, p, nr_segs, n)
1712  iov等于如果p恒等于iovNULL否则p
1713  返回:n
调用者
名称描述
compat_writev
COMPAT_SYSCALL_DEFINE4
aio_setup_rw
io_import_iovec
compat_process_vm_rw
sg_io
compat_keyctl_instantiate_key_iovInstantiate a key with the specified compatibility multipart payload and* link the key into the destination keyring if one is given.* The caller must have the appropriate instantiation permit set for this to* work (see keyctl_assume_authority)
compat_readv