函数逻辑报告 |
Source Code:lib\iov_iter.c |
Create Date:2022-07-27 07:19:11 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_page_from_iter
函数原型:size_t copy_page_from_iter(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 |
929 | 如果此条件成立可能性小(为编译器优化)(!page_copy_sane(page, offset, bytes))则返回:0 |
931 | 如果此条件成立可能性小(为编译器优化)(iov_iter_is_pipe(i) || iov_iter_is_discard(i))则 |
932 | WARN_ON(1) |
933 | 返回:0 |
936 | kaddr等于kmap_atomic(page) |
938 | 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) |
939 | 返回:wanted |
940 | 否则返回:copy_page_from_iter_iovec(page, offset, bytes, i) |
名称 | 描述 |
---|---|
pipe_write | |
process_vm_rw_pages | process_vm_rw_pages - read/write pages from task specified*@pages: array of pointers to pages we want to copy*@offset: offset in page to start copying from/to*@len: number of bytes to copy*@iter: where to copy to/from locally*@vm_write: 0 means copy from, |
bio_copy_from_iter | _copy_from_iter - copy all pages from iov_iter to bio*@bio: The &struct bio which describes the I/O as destination*@iter: iov_iter as source* Copy all pages from iov_iter to bio.* Returns 0 on success, or error on failure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |