Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:21:05 |
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_iovec
Proto:static size_t copy_page_to_iter_iovec(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 |
164 | If Value for the false possibility is greater at compile time(bytes > count) Then bytes = count |
167 | If Value for the false possibility is greater at compile time(!bytes) Then Return 0 |
170 | might_fault() |
173 | skip = iov_offset |
175 | copy = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(bytes, Must be size_t (1003.1g) - skip) |
178 | kaddr = kmap_atomic(page) |
189 | iov++ |
198 | If Value is more likely to compile time(!bytes) Then |
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 | Go to done |
217 | iov++ |
228 | done : |
229 | If skip == Must be size_t (1003.1g) Then |
236 | iov_offset = skip |
Name | Describe |
---|---|
copy_page_to_iter |
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 |