Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_copy_from_iter_full

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

Type:bool

Parameter:

TypeParameterName
void *addr
size_tbytes
struct iov_iter *i
779  to = addr
780  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then
781  WARN_ON(1)
782  Return false
784  If Value for the false possibility is greater at compile time(count < bytes) Then Return false
787  If iter_is_iovec(i) Then might_fault()
789  iterate_all_kinds(i, bytes, v, ({If copyin((to += iov_len) - iov_len, iov_base, iov_len) Then Return false;0;}), 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))
799  iov_iter_advance(i, bytes)
800  Return true
Caller
NameDescribe
copy_from_iter_full