Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:29 |
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:remap_verify_area
Proto:static int remap_verify_area(struct file *file, loff_t pos, loff_t len, bool write)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| loff_t | pos | |
| loff_t | len | |
| bool | write |
| 1755 | inode = file_inode(file) |
| 1757 | If Value for the false possibility is greater at compile time(pos < 0 || len < 0) Then Return -EINVAL |
| 1760 | If Value for the false possibility is greater at compile time((loff_t)(pos + len) < 0) Then Return -EINVAL |
| 1763 | If Value for the false possibility is greater at compile time(i_flctx && mandatory_lock(inode)) Then |
| 1764 | end = If len Then pos + len - 1 Else OFFSET_MAX |
| 1773 | Return security_file_permission(file, write ? MAY_WRITE : MAY_READ) |
| Name | Describe |
|---|---|
| do_clone_file_range | |
| vfs_dedupe_file_range_one | |
| vfs_dedupe_file_range |
| 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 |