函数逻辑报告 |
Source Code:lib\iov_iter.c |
Create Date:2022-07-27 07:18:07 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_page_from_iter_iovec
函数原型:static size_t copy_page_from_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 |
248 | 如果此条件成立可能性小(为编译器优化)(bytes > count)则bytes等于count |
251 | 如果此条件成立可能性小(为编译器优化)(!bytes)则返回:0 |
254 | might_fault() |
257 | skip等于iov_offset |
259 | copy等于两数取小(bytes, Must be size_t (1003.1g) - skip) |
262 | kaddr等于kmap_atomic(page) |
272 | 当此条件成立可能性小(为编译器优化)(!left && bytes)循环 |
273 | iov自加 |
275 | copy等于两数取小(bytes, Must be size_t (1003.1g) ) |
282 | 如果此条件成立可能性大(为编译器优化)(!bytes)则 |
283 | 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) |
284 | 转到:done |
288 | 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) |
289 | copy等于两数取小(bytes, Must be size_t (1003.1g) - skip) |
300 | 当此条件成立可能性小(为编译器优化)(!left && bytes)循环 |
301 | iov自加 |
303 | copy等于两数取小(bytes, Must be size_t (1003.1g) ) |
312 | done : |
313 | 如果skip恒等于 Must be size_t (1003.1g) 则 |
320 | iov_offset等于skip |
名称 | 描述 |
---|---|
copy_page_from_iter |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |