函数逻辑报告 |
Source Code:fs\crypto\policy.c |
Create Date:2022-07-29 10:57:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:supported_iv_ino_lblk_64_policy
函数原型:static bool supported_iv_ino_lblk_64_policy(const struct fscrypt_policy_v2 *policy, const struct inode *inode)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct fscrypt_policy_v2 * | policy | |
const struct inode * | inode |
39 | 如果flags按位与FSCRYPT_POLICY_FLAG_DIRECT_KEY则 |
40 | fscrypt_warn(inode, "The DIRECT_KEY and IV_INO_LBLK_64 flags are mutually exclusive") |
42 | 返回:false |
48 | 如果非has_stable_inodes或非has_stable_inodes(sb)则 |
50 | fscrypt_warn(inode, "Can't use IV_INO_LBLK_64 policy on filesystem '%s' because it doesn't have stable inode numbers", s_id) |
53 | 返回:false |
55 | 如果get_ino_and_lblk_bits则get_ino_and_lblk_bits(sb, & ino_bits, & lblk_bits) |
58 | fscrypt_warn(inode, "Can't use IV_INO_LBLK_64 policy on filesystem '%s' because it doesn't use 32-bit inode and block numbers", s_id) |
61 | 返回:false |
63 | 返回:true |
名称 | 描述 |
---|---|
fscrypt_supported_policy | |
fscrypt_supported_policy | scrypt_supported_policy - check whether an encryption policy is supported* Given an encryption policy, check whether all its encryption modes and other* settings are supported by this kernel |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |