Function report |
Source Code:mm\filemap.c |
Create Date:2022-07-28 14:03:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Performs common checks before doing a file copy/clone* from @file_in to @file_out.
Proto:int generic_file_rw_checks(struct file *file_in, struct file *file_out)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file_in | |
| struct file * | file_out |
| 3052 | inode_in = file_inode(file_in) |
| 3053 | inode_out = file_inode(file_out) |
| 3061 | If Not (f_mode & le is open for reading ) || Not (f_mode & le is open for writing ) || f_flags & O_APPEND Then Return -EBADF |
| 3066 | Return 0 |
| Name | Describe |
|---|---|
| generic_copy_file_checks | Performs necessary checks before doing a file copy* Can adjust amount of bytes to copy via @req_count argument.* Returns appropriate error code that caller should return or* zero in case the copy should be allowed. |
| 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 |