函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:30:43 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_iov_iter_get_pages - add user or kernel pages to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be added* This takes either an iterator pointing to user memory, or one pointing to* kernel pages (BVEC iterator)
函数原型:int bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio | |
struct iov_iter * | iter |
985 | is_bvec等于iov_iter_is_bvec(iter) |
988 | 如果WARN_ON_ONCE( how many bio_vec's )则返回:负EINVAL |
991 | 循环 |
992 | 如果is_bvec则ret等于__bio_iov_bvec_add_pages(bio, iter) |
998 | 如果is_bvec则bio_set_flag(bio, BIO_NO_PAGE_REF) |
1000 | 返回:如果 how many bio_vec's 则0否则ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |