函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-27 07:21:31
Last Modify:2022-05-21 11:43:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iov_iter_for_each_range

函数原型:int iov_iter_for_each_range(struct iov_iter *i, size_t bytes, int (*f)(struct kvec *vec, void *context), void *context)

返回类型:int

参数:

类型参数名称
struct iov_iter *i
size_tbytes
int (*f
void *context
1738  err等于负EINVAL
1739  如果非bytes则返回: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  返回:err