Function report |
Source Code:fs\splice.c |
Create Date:2022-07-28 20:11:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Attempt to initiate a splice from a file to a pipe.
Proto:static long do_splice_to(struct file *in, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | in | |
loff_t * | ppos | |
struct pipe_inode_info * | pipe | |
size_t | len | |
unsigned int | flags |
873 | ssize_t( * splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t, unsigned int) |
877 | If Value for the false possibility is greater at compile time(!(f_mode & le is open for reading )) Then Return -EBADF |
880 | ret = rw_verify_area(generic data direction definitions , in, ppos, len) |
881 | If Value for the false possibility is greater at compile time(ret < 0) Then Return ret |
884 | If Value for the false possibility is greater at compile time(len > MAX_RW_COUNT) Then len = MAX_RW_COUNT |
887 | If splice_read Then splice_read = splice_read |
889 | Else splice_read = default_file_splice_read |
Name | Describe |
---|---|
splice_direct_to_actor | splice_direct_to_actor - splices data directly between two non-pipes*@in: file to splice from*@sd: actor information on where to splice to*@actor: handles the data splicing* Description:* This is a special case helper to splice directly between two |
do_splice | Determine where to splice to/from. |
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 |