函数逻辑报告 |
Source Code:lib\iov_iter.c |
Create Date:2022-07-27 07:19:47 |
Last Modify:2022-05-21 11:43:54 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:iov_iter_revert
函数原型:void iov_iter_revert(struct iov_iter *i, size_t unroll)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct iov_iter * | i | |
size_t | unroll |
1080 | 如果非unroll则返回 |
1082 | 如果WARN_ON(unroll > MAX_RW_COUNT)则返回 |
1085 | 如果此条件成立可能性小(为编译器优化)(iov_iter_is_pipe(i))则 |
1089 | off等于iov_offset |
1090 | 当1循环 |
1098 | 如果非unroll且i_head恒等于start_head则 |
1102 | i_head自减 |
1106 | iov_offset等于off |
1108 | pipe_truncate(i) |
1109 | 返回 |
1111 | 如果此条件成立可能性小(为编译器优化)(iov_iter_is_discard(i))则返回 |
1113 | 如果unroll小于等于iov_offset则 |
1114 | iov_offset减等于unroll |
1115 | 返回 |
1117 | unroll减等于iov_offset |
1118 | 如果iov_iter_is_bvec(i)则 |
1120 | 当1循环 |
1130 | 否则 |
1132 | 当1循环 |
名称 | 描述 |
---|---|
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 |
generic_file_read_iter | generic_file_read_iter - generic filesystem read routine*@iocb: kernel I/O control block*@iter: destination for the data read* This is the "read_iter()" routine for all filesystems* that can use the page cache directly |
copy_linear_skb | |
iomap_dio_bio_actor |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |