函数逻辑报告 |
Source Code:fs\read_write.c |
Create Date:2022-07-29 10:31:25 |
Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_iter_read
函数原型:static ssize_t do_iter_read(struct file *file, struct iov_iter *iter, loff_t *pos, rwf_t flags)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
struct iov_iter * | iter | |
loff_t * | pos | |
rwf_t | flags |
918 | ret等于0 |
920 | 如果非f_mode按位与le is open for reading 的值则返回:负EBADF |
922 | 如果非f_mode按位与Has read method(s) 的值则返回:负EINVAL |
925 | tot_len等于iov_iter_count(iter) |
932 | 如果read_iter则ret等于do_iter_readv_writev(file, iter, pos, generic data direction definitions , flags) |
934 | 否则ret等于Do it by hand, with file-ops |
936 | out : |
937 | 如果ret大于等于0则snotify_access - file was read |
939 | 返回:ret |
名称 | 描述 |
---|---|
vfs_iter_read | |
vfs_readv | |
compat_readv |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |