Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

Type:int

Parameter:

TypeParameterName
struct bio *bio
struct iov_iteriter
1207  ret = copy_page_to_iter(bv_page, bv_offset, bv_len, & iter)
1212  If Not iov_iter_count( & iter) Then Break
1215  If ret < bv_len Then Return -EFAULT
1219  Return 0
Caller
NameDescribe
bio_uncopy_user_uncopy_user - finish previously mapped bio*@bio: bio being terminated* Free pages allocated from bio_copy_user_iov() and write back data* to user space in case of a read.