Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:21 |
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_readv_writev
Proto:static ssize_t do_iter_readv_writev(struct file *filp, struct iov_iter *iter, loff_t *ppos, int type, rwf_t flags)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct iov_iter * | iter | |
loff_t * | ppos | |
int | type | |
rwf_t | flags |
684 | init_sync_kiocb( & kiocb, filp) |
685 | ret = kiocb_set_rw_flags( & kiocb, flags) |
688 | The 'ki_filp' pointer is shared in a union for aio = If ppos Then ppos Else 0 |
690 | If type == generic data direction definitions Then ret = call_read_iter(filp, & kiocb, iter) |
692 | Else ret = call_write_iter(filp, & kiocb, iter) |
694 | BUG_ON(ret == - cb queued, will get completion event ) |
695 | If ppos Then ppos = The 'ki_filp' pointer is shared in a union for aio |
697 | Return ret |
Name | Describe |
---|---|
do_iter_read | |
do_iter_write |
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 |