Function report |
Source Code:fs\read_write.c |
Create Date:2022-07-28 20:01:19 |
| Last Modify:2020-03-18 10:18:51 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:default_llseek
Proto:loff_t default_llseek(struct file *file, loff_t offset, int whence)
Type:loff_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file | |
| loff_t | offset | |
| int | whence |
| 238 | inode = file_inode(file) |
| 241 | inode_lock(inode) |
| 243 | Case whence == seek relative to end of file |
| 245 | Break |
| 246 | Case whence == seek relative to current file position |
| 253 | Case whence == seek to the next data |
| 264 | Case whence == seek to the next hole |
| 278 | If offset >= 0 || unsigned_offsets(file) Then |
| 285 | out : |
| 286 | inode_unlock(inode) |
| 287 | Return retval |
| 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 |