函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:locks_delete_lock - stop waiting for a file lock*@waiter: the lock which was waiting* lockd/nfsd need to disconnect the lock while working on it.
函数原型:int locks_delete_block(struct file_lock *waiter)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file_lock * | waiter |
767 | 如果 The lock, that is blocking us 恒等于NULL且链表为空则返回:status |
770 | 加自旋锁 |
771 | 如果 The lock, that is blocking us 则status等于0 |
775 | 自旋锁解锁 |
776 | 返回:status |
名称 | 描述 |
---|---|
posix_lock_inode_wait | posix_lock_inode_wait - Apply a POSIX-style lock to a file*@inode: inode of file to which lock request should be applied*@fl: The lock to be applied* Apply a POSIX style lock request to an inode. |
__break_lease | 撤销所有未偿还的文件 |
flock_lock_inode_wait | lock_lock_inode_wait - Apply a FLOCK-style lock to a file*@inode: inode of the file to apply to*@fl: The lock to be applied* Apply a FLOCK style lock request to an inode. |
do_lock_file_wait |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |