Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:20 |
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rw_verify_area
Proto:int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t count)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | read_write | |
| struct file * | file | |
| const loff_t * | ppos | |
| size_t | count |
| 370 | inode = file_inode(file) |
| 371 | If Value for the false possibility is greater at compile time((ssize_t)count < 0) Then Return retval |
| 378 | If ppos Then |
| 381 | If Value for the false possibility is greater at compile time(pos < 0) Then |
| 386 | Else if Value for the false possibility is greater at compile time((loff_t)(pos + count) < 0) Then |
| 387 | If Not unsigned_offsets(file) Then Return retval |
| 399 | Return security_file_permission(file, read_write == generic data direction definitions ? MAY_READ : MAY_WRITE) |
| Name | Describe |
|---|---|
| vfs_read | |
| vfs_write | |
| do_iter_read | |
| do_iter_write | |
| do_sendfile | |
| vfs_copy_file_range | py_file_range() differs from regular file read and write in that it* specifically allows return partial success. When it does so is up to* the copy_file_range method. |
| do_splice_to | Attempt to initiate a splice from a file to a pipe. |
| do_splice_direct | do_splice_direct - splices data directly between two files*@in: file to splice from*@ppos: input file offset*@out: file to splice to*@opos: output file offset*@len: number of bytes to splice*@flags: splice modifier flags* Description: |
| do_splice | Determine where to splice to/from. |
| aio_read | |
| aio_write | |
| io_read | |
| io_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 |