Function report |
Source Code:lib\iov_iter.c |
Create Date:2022-07-28 06:22:42 |
| Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iov_iter_revert
Proto:void iov_iter_revert(struct iov_iter *i, size_t unroll)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct iov_iter * | i | |
| size_t | unroll |
| 1080 | If Not unroll Then Return |
| 1082 | If WARN_ON(unroll > MAX_RW_COUNT) Then Return |
| 1089 | off = iov_offset |
| 1090 | When 1 cycle |
| 1106 | iov_offset = off |
| 1108 | pipe_truncate(i) |
| 1109 | Return |
| 1111 | If Value for the false possibility is greater at compile time(iov_iter_is_discard(i)) Then Return |
| 1113 | If unroll <= iov_offset Then |
| 1114 | iov_offset -= unroll |
| 1115 | Return |
| 1117 | unroll -= iov_offset |
| 1118 | If iov_iter_is_bvec(i) Then |
| 1120 | When 1 cycle |
| 1130 | Else |
| 1132 | When 1 cycle |
| Name | Describe |
|---|---|
| generic_file_direct_write | |
| iomap_dio_rw | map_dio_rw() always completes O_[D]SYNC writes regardless of whether the IO* is being issued as AIO or not. This allows us to optimise pure data writes* to use REQ_FUA rather than requiring generic_write_sync() to issue a* REQ_FLUSH post write |
| 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 |