Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-28 06:24:10
Last Modify:2022-05-21 11:43:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:compat_import_iovec

Proto: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)

Type:ssize_t

Parameter:

TypeParameterName
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  If n < 0 Then
1706  If p != iov Then kfree(p)
1708  * iov = NULL
1709  Return n
1711  iov_iter_init(i, type, p, nr_segs, n)
1712  iov = If p == iov Then NULL Else p
1713  Return n
Caller
NameDescribe
compat_writev
COMPAT_SYSCALL_DEFINE4
aio_setup_rw
io_import_iovec