函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl().
函数原型:int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
unsigned int | cmd | |
struct flock64 * | flock |
2545 | error等于flock64_to_posix_lock(filp, fl, flock) |
2549 | 如果cmd恒等于F_OFD_GETLK则 |
2554 | cmd等于using 'struct flock64' |
2564 | 如果fl_type不等于F_UNLCK则posix_lock_to_flock64(flock, fl) |
2567 | out : |
2569 | 返回:error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |