函数逻辑报告 | 
Source Code:fs\locks.c | 
Create Date:2022-07-29 10:59:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:This function is called when the file is being removed* from the task's fd array. POSIX locks belonging to this task* are deleted at this time.
函数原型:void locks_remove_posix(struct file *filp, fl_owner_t owner)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct file * | filp | |
| fl_owner_t | owner | 
| 2667 | inode等于locks_inode(filp) | 
| 2676 | ctx等于smp_load_acquire( & i_flctx) | 
| 2680 | locks_init_lock( & lock) | 
| 2682 | fl_flags等于FL_POSIX按位或unlock on close | 
| 2683 | fl_start等于0 | 
| 2684 | fl_end等于OFFSET_MAX | 
| 2688 | Callbacks for filesystems = NULL | 
| 2689 | Callbacks for lockmanagers = NULL | 
| 2691 | error等于vfs_lock_file - file byte range lock*@filp: The file to apply the lock to*@cmd: type of locking operation (F_SETLK, F_GETLK, etc | 
| 2695 | trace_locks_remove_posix(inode, & lock, error) | 
| 名称 | 描述 | 
|---|---|
| locks_remove_file | This function is called on the last close of an open file. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |