函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:30:40 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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
函数原型:static int __bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio | |
struct iov_iter * | iter |
924 | bv等于 the actual vec list 加 how many bio_vec's |
926 | bool same_page = false |
937 | pages加等于entries_left乘PAGE_PTRS_PER_BVEC减1的差 |
940 | 如果此条件成立可能性小(为编译器优化)(size <= 0)则返回:如果size则size否则负EFAULT |
946 | len等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, PAGE_SIZE - offset, left) |
951 | 否则 |
956 | offset等于0 |
959 | iov_iter_advance(iter, size) |
960 | 返回:0 |
名称 | 描述 |
---|---|
bio_iov_iter_get_pages | _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) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |