Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:22 |
Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_iter_read
Proto:static ssize_t do_iter_read(struct file *file, struct iov_iter *iter, loff_t *pos, rwf_t flags)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
struct iov_iter * | iter | |
loff_t * | pos | |
rwf_t | flags |
918 | ret = 0 |
920 | If Not (f_mode & le is open for reading ) Then Return -EBADF |
922 | If Not (f_mode & Has read method(s) ) Then Return -EINVAL |
925 | tot_len = iov_iter_count(iter) |
932 | If read_iter Then ret = do_iter_readv_writev(file, iter, pos, generic data direction definitions , flags) |
934 | Else ret = Do it by hand, with file-ops |
936 | out : |
937 | If ret >= 0 Then snotify_access - file was read |
939 | Return ret |
Name | Describe |
---|---|
vfs_iter_read | |
vfs_readv | |
compat_readv |
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 |