函数逻辑报告 |
Source Code:fs\inode.c |
Create Date:2022-07-29 10:38:05 |
Last Modify:2020-03-18 19:19:59 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock_two_nondirectories - take two i_mutexes on non-directory objects* Lock any non-NULL argument that is not a directory.* Zero, one or two objects may be locked by this function.*@inode1: first inode to lock*@inode2: second inode to lock
函数原型:void lock_two_nondirectories(struct inode *inode1, struct inode *inode2)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode1 | |
struct inode * | inode2 |
1026 | 如果inode1大于inode2则swap - swap values of @a and @b*@a: first value*@b: second value(inode1, inode2) |
1029 | 如果inode1且非S_ISDIR(i_mode)则inode_lock(inode1) |
1031 | 如果inode2且非S_ISDIR(i_mode)且inode2不等于inode1则inode_lock_nested(inode2, I_MUTEX_NONDIR2) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |