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_write
Proto:static ssize_t do_iter_write(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 |
955 | ret = 0 |
957 | If Not (f_mode & le is open for writing ) Then Return -EBADF |
959 | If Not (f_mode & Has write method(s) ) Then Return -EINVAL |
962 | tot_len = iov_iter_count(iter) |
963 | If Not tot_len Then Return 0 |
969 | If write_iter Then ret = do_iter_readv_writev(file, iter, pos, WRITE, flags) |
971 | Else ret = Do it by hand, with file-ops |
973 | If ret > 0 Then snotify_modify - file was modified |
975 | Return ret |
Name | Describe |
---|---|
vfs_iter_write | |
vfs_writev | |
compat_writev |
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 |