Function report | 
Source Code:lib\iov_iter.c | 
Create Date:2022-07-28 06:21:07 | 
| Last Modify:2022-05-21 11:43:54 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sanity
Proto:static bool sanity(const struct iov_iter *i)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct iov_iter * | i | 
| 331 | p_occupancy = pipe_occupancy - Return number of slots used in the pipe*@head: The pipe ring head pointer*@tail: The pipe ring tail pointer | 
| 335 | If iov_offset Then | 
| 337 | If Value for the false possibility is greater at compile time(p_occupancy == 0) Then Go to Bad | 
| 339 | If Value for the false possibility is greater at compile time(i_head != p_head - 1) Then Go to Bad | 
| 343 | If Value for the false possibility is greater at compile time(offset + len != iov_offset) Then Go to Bad | 
| 345 | Else | 
| 349 | Return true | 
| 350 | Bad : | 
| 351 | printk(r conditions "idx = %d, offset = %zd\n", i_head, iov_offset) | 
| 352 | printk(r conditions "head = %d, tail = %d, buffers = %d\n", p_head, p_tail, ring_size) | 
| 360 | WARN_ON(1) | 
| 361 | Return false | 
| Name | Describe | 
|---|---|
| copy_page_to_iter_pipe | |
| copy_pipe_to_iter | |
| csum_and_copy_to_pipe_iter | |
| pipe_zero | |
| pipe_get_pages | |
| pipe_get_pages_alloc | |
| iov_iter_npages | 
| 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  |