Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:21:06 |
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_iovec
Proto:static size_t copy_page_from_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 |
248 | If Value for the false possibility is greater at compile time(bytes > count) Then bytes = count |
251 | If Value for the false possibility is greater at compile time(!bytes) Then Return 0 |
254 | might_fault() |
257 | skip = iov_offset |
259 | 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) |
262 | kaddr = kmap_atomic(page) |
273 | iov++ |
282 | If Value is more likely to compile time(!bytes) Then |
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 | Go to done |
301 | iov++ |
312 | done : |
313 | If skip == Must be size_t (1003.1g) Then |
320 | iov_offset = skip |
Name | Describe |
---|---|
copy_page_from_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 |