函数逻辑报告 | 
Source Code:fs\locks.c | 
Create Date:2022-07-29 10:59:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:posix_lock_to_flock
函数原型:static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct flock * | flock | |
| struct file_lock * | fl | 
| 2292 | 如果fl_start大于OFFT_OFFSET_MAX则返回:负EOVERFLOW | 
| 2294 | 如果fl_end不等于OFFSET_MAX且fl_end大于OFFT_OFFSET_MAX则返回:负EOVERFLOW | 
| 2298 | l_len等于如果fl_end恒等于OFFSET_MAX则0否则fl_end减fl_start加1 | 
| 2300 | l_whence等于0 | 
| 2302 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| fcntl_getlk | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |