函数逻辑报告 |
Source Code:lib\iov_iter.c |
Create Date:2022-07-27 07:18:05 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_page_to_iter_iovec
函数原型:static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t bytes, struct iov_iter *i)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
size_t | offset | |
size_t | bytes | |
struct iov_iter * | i |
164 | 如果此条件成立可能性小(为编译器优化)(bytes > count)则bytes等于count |
167 | 如果此条件成立可能性小(为编译器优化)(!bytes)则返回:0 |
170 | might_fault() |
173 | skip等于iov_offset |
175 | copy等于两数取小(bytes, Must be size_t (1003.1g) - skip) |
178 | kaddr等于kmap_atomic(page) |
188 | 当此条件成立可能性小(为编译器优化)(!left && bytes)循环 |
189 | iov自加 |
191 | copy等于两数取小(bytes, Must be size_t (1003.1g) ) |
198 | 如果此条件成立可能性大(为编译器优化)(!bytes)则 |
199 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
200 | 转到:done |
204 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
205 | copy等于两数取小(bytes, Must be size_t (1003.1g) - skip) |
216 | 当此条件成立可能性小(为编译器优化)(!left && bytes)循环 |
217 | iov自加 |
219 | copy等于两数取小(bytes, Must be size_t (1003.1g) ) |
228 | done : |
229 | 如果skip恒等于 Must be size_t (1003.1g) 则 |
236 | iov_offset等于skip |
名称 | 描述 |
---|---|
copy_page_to_iter |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |