Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:22:07 |
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_to_iter
Proto:size_t copy_page_to_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 |
910 | If Value for the false possibility is greater at compile time(!page_copy_sane(page, offset, bytes)) Then Return 0 |
913 | kaddr = kmap_atomic(page) |
915 | 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) |
916 | Return wanted |
917 | Else if Value for the false possibility is greater at compile time(iov_iter_is_discard(i)) Then Return bytes |
919 | Else if Value is more likely to compile time(!iov_iter_is_pipe(i)) Then Return copy_page_to_iter_iovec(page, offset, bytes, i) |
921 | Else Return copy_page_to_iter_pipe(page, offset, bytes, i) |
Name | Describe |
---|---|
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, |
pipe_to_user |
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 |