Function report |
Source Code:fs\crypto\fscrypt_private.h |
Create Date:2022-07-28 20:23:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return the size expected for the given fscrypt_context based on its version* number, or 0 if the context version is unrecognized.
Proto:static inline int fscrypt_context_size(const union fscrypt_context *ctx)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const union fscrypt_context * | ctx |
| 68 | Case version == FSCRYPT_CONTEXT_V1 |
| 69 | BUILD_BUG_ON - break compile if a condition is true( size of v1 != 28) |
| 70 | Return size of v1 |
| 71 | Case version == FSCRYPT_CONTEXT_V2 |
| 72 | BUILD_BUG_ON - break compile if a condition is true( size of v2 != 40) |
| 73 | Return size of v2 |
| 75 | Return 0 |
| Name | Describe |
|---|---|
| fscrypt_policy_from_context |
| 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 |