函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:获取当前文件租约
函数原型:int fcntl_getlease(struct file *filp)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct file * | filp |
| 1738 | inode等于locks_inode(filp) |
| 1743 | ctx等于smp_load_acquire( & i_flctx) |
| 1745 | percpu_down_read( & file_rwsem) |
| 1746 | 加自旋锁 |
| 1747 | time_out_leases(inode, & dispose) |
| 1751 | type等于target_leasetype(fl) |
| 1752 | 退出 |
| 1754 | 自旋锁解锁 |
| 1755 | percpu_up_read( & file_rwsem) |
| 1757 | locks_dispose_list( & dispose) |
| 1759 | 返回:type |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |