Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_copy_to_iter

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

Type:size_t

Parameter:

TypeParameterName
const void *addr
size_tbytes
struct iov_iter *i
622  from = addr
623  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then Return copy_pipe_to_iter(addr, bytes, i)
625  If iter_is_iovec(i) Then might_fault()
627  iterate_and_advance(i, bytes, v, copyout(iov_base, (from += iov_len) - iov_len, iov_len), memcpy_to_page(bv_page, bv_offset, (from += bv_len) - bv_len, bv_len), No 3D Now!(iov_base, (from += iov_len) - iov_len, iov_len))
634  Return bytes
Caller
NameDescribe
copy_to_iter