函数逻辑报告 |
Source Code:mm\filemap.c |
Create Date:2022-07-27 15:26:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:generic_perform_write
函数原型:ssize_t generic_perform_write(struct file *file, struct iov_iter *i, loff_t pos)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
struct iov_iter * | i | |
loff_t | pos |
3273 | status等于0 |
3274 | written等于0 |
3275 | flags等于0 |
3277 | 循环 |
3285 | bytes等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, PAGE_SIZE - offset, iov_iter_count(i)) |
3288 | again : |
3304 | 如果fatal_signal_pending(当前进程)则 |
3311 | 如果此条件成立可能性小(为编译器优化)(status < 0)则退出 |
3318 | flush_dcache_page(page) |
3322 | 如果此条件成立可能性小(为编译器优化)(status < 0)则退出 |
3326 | cond_resched() |
3328 | iov_iter_advance(i, copied) |
3329 | 如果此条件成立可能性小(为编译器优化)(copied == 0)则 |
3346 | 当iov_iter_count(i)循环 |
名称 | 描述 |
---|---|
__generic_file_write_iter | __generic_file_write_iter - write data to a file*@iocb: IO state structure (file, offset, etc.)*@from: iov_iter with data to write* This function does all the work needed for actually writing data to a* file |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |