函数逻辑报告 |
Source Code:fs\locks.c |
Create Date:2022-07-29 10:59:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:posix_test_lock
函数原型:void posix_test_lock(struct file *filp, struct file_lock *fl)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | filp | |
struct file_lock * | fl |
933 | inode等于locks_inode(filp) |
935 | ctx等于smp_load_acquire( & i_flctx) |
941 | 加自旋锁 |
949 | out : |
950 | 自旋锁解锁 |
951 | 返回 |
名称 | 描述 |
---|---|
vfs_test_lock | vfs_test_lock - test file byte range lock*@filp: The file to test lock for*@fl: The lock to test; also used to hold result* Returns -ERRNO on failure. Indicates presence of conflicting lock by* setting conf->fl_type to something other than F_UNLCK. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |