函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static int posix_lock_inode_wait(struct inode *inode, struct file_lock *fl)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct file_lock * | fl |
1362 | might_sleep() |
1363 | 循环 |
1364 | error等于posix_lock_inode(inode, fl, NULL) |
1365 | 如果error不等于Special return value from posix_lock_file() and vfs_lock_file() for* asynchronous locking.则退出 |
1372 | 返回:error |
名称 | 描述 |
---|---|
locks_lock_inode_wait | locks_lock_inode_wait - Apply a lock to an inode*@inode: inode of the file to apply to*@fl: The lock to be applied* Apply a POSIX or FLOCK style lock request to an inode. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |