Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:22:08 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_page_from_iter
Proto:size_t copy_page_from_iter(struct page *page, size_t offset, size_t bytes, struct iov_iter *i)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
size_t | offset | |
size_t | bytes | |
struct iov_iter * | i |
929 | If Value for the false possibility is greater at compile time(!page_copy_sane(page, offset, bytes)) Then Return 0 |
932 | WARN_ON(1) |
933 | Return 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 | Return wanted |
940 | Else Return copy_page_from_iter_iovec(page, offset, bytes, i) |
Name | Describe |
---|---|
pipe_write |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |