Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:21:13 |
| Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:csum_and_copy_to_pipe_iter
Proto:static size_t csum_and_copy_to_pipe_iter(const void *addr, size_t bytes, __wsum *csum, struct iov_iter *i)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | addr | |
| size_t | bytes | |
| __wsum * | csum | |
| struct iov_iter * | i |
| 593 | off = 0 |
| 600 | If Value for the false possibility is greater at compile time(!n) Then Return 0 |
| 602 | Do |
| 603 | chunk = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(size_t, n, PAGE_SIZE - r) |
| 604 | p = kmap_atomic(page) |
| 606 | 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.(p) |
| 608 | iov_offset = r + chunk |
| 612 | r = 0 |
| 613 | i_head++ |
| 617 | Return bytes |
| Name | Describe |
|---|---|
| csum_and_copy_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 |