Function report |
Source Code:fs\crypto\policy.c |
Create Date:2022-07-28 20:24:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:supported_iv_ino_lblk_64_policy
Proto:static bool supported_iv_ino_lblk_64_policy(const struct fscrypt_policy_v2 *policy, const struct inode *inode)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct fscrypt_policy_v2 * | policy | |
| const struct inode * | inode |
| 39 | If flags & FSCRYPT_POLICY_FLAG_DIRECT_KEY Then |
| 40 | fscrypt_warn(inode, "The DIRECT_KEY and IV_INO_LBLK_64 flags are mutually exclusive") |
| 42 | Return false |
| 48 | If Not has_stable_inodes || Not has_stable_inodes(sb) Then |
| 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 | Return false |
| 55 | If get_ino_and_lblk_bits Then 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 | Return false |
| 63 | Return true |
| Name | Describe |
|---|---|
| fscrypt_supported_policy |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |