Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:55:41
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_copy_from_iter - copy all pages from iov_iter to bio*@bio: The &struct bio which describes the I/O as destination*@iter: iov_iter as source* Copy all pages from iov_iter to bio.* Returns 0 on success, or error on failure.

Proto:static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter)

Type:int

Parameter:

TypeParameterName
struct bio *bio
struct iov_iter *iter
1176  ret = copy_page_from_iter(bv_page, bv_offset, bv_len, iter)
1181  If Not iov_iter_count(iter) Then Break
1184  If ret < bv_len Then Return -EFAULT
1188  Return 0
Caller
NameDescribe
bio_copy_user_iov_copy_user_iov - copy user data to bio*@q: destination block queue*@map_data: pointer to the rq_map_data holding pages (if necessary)*@iter: iovec iterator*@gfp_mask: memory allocation flags* Prepares and returns a bio for indirect user io, bouncing data