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 it by hand, with file-ops
Proto:static ssize_t do_loop_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 |
704 | ret = 0 |
706 | If flags & ~high priority request, poll if possible Then Return -EOPNOTSUPP |
709 | When iov_iter_count(iter) cycle |
710 | iovec = iov_iter_iovec(iter) |
713 | If type == generic data direction definitions Then |
716 | Else |
721 | If nr < 0 Then |
727 | If nr != Must be size_t (1003.1g) Then Break |
729 | iov_iter_advance(iter, nr) |
732 | 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 |