Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_copy_from_iter

Proto:size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i)

Type:size_t

Parameter:

TypeParameterName
void *addr
size_tbytes
struct iov_iter *i
759  to = addr
760  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then
761  WARN_ON(1)
762  Return 0
764  If iter_is_iovec(i) Then might_fault()
766  iterate_and_advance(i, bytes, v, copyin((to += iov_len) - iov_len, iov_base, iov_len), memcpy_from_page((to += bv_len) - bv_len, bv_page, bv_offset, bv_len), No 3D Now!((to += iov_len) - iov_len, iov_base, iov_len))
773  Return bytes
Caller
NameDescribe
copy_page_from_iter
copy_from_iter