函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Free a lock which is not in use.
函数原型:void locks_free_lock(struct file_lock *fl)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file_lock * | fl |
382 | locks_release_private(fl) |
383 | kmem_cache_free(filelock_cache, fl) |
名称 | 描述 |
---|---|
locks_dispose_list | |
lease_alloc | Allocate a file_lock initialised to this type of lease |
locks_delete_lock_ctx | |
flock_lock_inode | Try to create a FLOCK lock on filp |
posix_lock_inode | |
__break_lease | 撤销所有未偿还的文件 |
do_fcntl_add_lease | |
SYSCALL_DEFINE2 | sys_flock: - flock() system call.*@fd: the file descriptor to lock.*@cmd: the type of lock to apply.* Apply a %FL_FLOCK style lock to an open file descriptor.* The @cmd can be one of:* - %LOCK_SH -- a shared lock.* - %LOCK_EX -- an exclusive lock. |
fcntl_getlk | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
fcntl_setlk | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
fcntl_getlk64 | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
fcntl_setlk64 | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |