Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:iov_iter_for_each_range

Proto:int iov_iter_for_each_range(struct iov_iter *i, size_t bytes, int (*f)(struct kvec *vec, void *context), void *context)

Type:int

Parameter:

TypeParameterName
struct iov_iter *i
size_tbytes
int (*f
void *context
1738  err = -EINVAL
1739  If Not bytes Then Return 0
1742  iterate_all_kinds(i, bytes, v, - EINVAL, ({ and that should *never* hold a userland pointer = kmap(bv_page) + bv_offset;iov_len = bv_len;err = f( & w, context);kunmap(bv_page);err;}), ({w = v;err = f( & w, context);}))
1751  Return err