Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-28 06:22:07
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_nocache

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

Type:bool

Parameter:

TypeParameterName
void *addr
size_tbytes
struct iov_iter *i
861  to = addr
862  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then
863  WARN_ON(1)
864  Return false
866  If Value for the false possibility is greater at compile time(count < bytes) Then Return false
868  iterate_all_kinds(i, bytes, v, ({If __copy_from_user_inatomic_nocache((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))
878  iov_iter_advance(i, bytes)
879  Return true
Caller
NameDescribe
copy_from_iter_full_nocache