Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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
Caller
NameDescribe
fscrypt_policy_from_context