Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iov_iter_advance

Proto:void iov_iter_advance(struct iov_iter *i, size_t size)

Type:void

Parameter:

TypeParameterName
struct iov_iter *i
size_tsize
1066  If Value for the false possibility is greater at compile time(iov_iter_is_pipe(i)) Then
1067  pipe_advance(i, size)
1068  Return
1070  If Value for the false possibility is greater at compile time(iov_iter_is_discard(i)) Then
1071  count -= size
1072  Return
1074  iterate_and_advance(i, size, v, 0, 0, 0)
Caller
NameDescribe
_copy_from_iter_full
_copy_from_iter_full_nocache
csum_and_copy_from_iter_full
__bio_iov_iter_get_pages__bio_iov_iter_get_pages - pin user or kernel pages and add them to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be mapped* Pins pages from *iter and appends them to @bio's bvec array. The
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
bio_map_user_iov_map_user_iov - map user iovec into bio*@q: the struct request_queue for the bio*@iter: iovec iterator*@gfp_mask: memory allocation flags* Map the user space address into a bio suitable for io to a block* device. Returns an error pointer in case of error.
generic_file_splice_readgeneric_file_splice_read - splice data from file to a pipe*@in: file to splice from*@ppos: position in @in*@pipe: pipe to splice to*@len: number of bytes to splice*@flags: splice modifier flags* Description:
default_file_splice_read
iter_to_pipe
dio_refill_pagesGo grab and pin some userspace pages. Typically we'll get 64 at a time.
io_import_fixed
loop_rw_iterFor files that don't have ->read_iter() and ->write_iter(), handle them* by looping over ->read() or ->write() manually.
iomap_write_actor