| Function report | 
| Source Code: fs\read_write.c | Create Date:2022-07-28 20:01:18 | 
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vfs_setpos - update the file offset for lseek*@file: file structure in question*@offset: file offset to seek to*@maxsize: maximum file size* This is a low-level filesystem helper for updating the file offset to* the value specified by @offset if the given
Proto:loff_t vfs_setpos(struct file *file, loff_t offset, loff_t maxsize)
Type:loff_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| loff_t | offset | |
| loff_t | maxsize | 
| 56 | If offset < 0 && Not unsigned_offsets(file) Then Return -EINVAL | 
| 65 | Return offset | 
| Name | Describe | 
|---|---|
| generic_file_llseek_size | generic_file_llseek_size - generic llseek implementation for regular files*@file: file structure to seek on*@offset: file offset to seek to*@whence: type of seek*@size: max size of this file in file system*@eof: offset used for SEEK_END position* This is | 
| 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 |