函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:static loff_t block_llseek(struct file *file, loff_t offset, int whence)
返回类型:loff_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 返回:retval |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |