Function report | 
Source Code:fs\block_dev.c | 
Create Date:2022-07-28 20:14:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:private llseek:* for a block special file file_inode(file)->i_size is zero* so we compute the size by hand (just as in block_read/write above)
Proto:static loff_t block_llseek(struct file *file, loff_t offset, int whence)
Type:loff_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | |
| loff_t | offset | |
| int | whence | 
| 651 | bd_inode = bdev_file_inode(file) | 
| 654 | inode_lock(bd_inode) | 
| 655 | retval = xed_size_llseek - llseek implementation for fixed-sized devices*@file: file structure to seek on*@offset: file offset to seek to*@whence: type of seek*@size: size of the file | 
| 656 | inode_unlock(bd_inode) | 
| 657 | 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  |