函数逻辑报告 | 
Source Code:fs\crypto\policy.c | 
Create Date:2022-07-29 10:57:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Retrieve an inode's encryption policy
函数原型:static int fscrypt_get_policy(struct inode *inode, union fscrypt_policy *policy)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct inode * | inode | |
| union fscrypt_policy * | policy | 
| 253 | ci等于READ_ONCE(i_crypt_info) | 
| 254 | 如果ci则 | 
| 257 | 返回:0 | 
| 260 | 如果非IS_ENCRYPTED(inode)则返回:负ENODATA | 
| 263 | ret等于get_context(inode, & ctx, ctx的长度) | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |