Home
last modified time | relevance | path

Searched refs:child_ctx (Results 1 – 2 of 2) sorted by relevance

/fs/crypto/
Dpolicy.c160 struct fscrypt_context parent_ctx, child_ctx; in fscrypt_has_permitted_context() local
213 res = cops->get_context(child, &child_ctx, sizeof(child_ctx)); in fscrypt_has_permitted_context()
214 if (res != sizeof(child_ctx)) in fscrypt_has_permitted_context()
218 child_ctx.master_key_descriptor, in fscrypt_has_permitted_context()
221 child_ctx.contents_encryption_mode) && in fscrypt_has_permitted_context()
223 child_ctx.filenames_encryption_mode) && in fscrypt_has_permitted_context()
224 (parent_ctx.flags == child_ctx.flags); in fscrypt_has_permitted_context()
/fs/ext4/
Dcrypto_policy.c152 struct ext4_encryption_context parent_ctx, child_ctx; in ext4_is_child_context_consistent_with_parent() local
208 &child_ctx, sizeof(child_ctx)); in ext4_is_child_context_consistent_with_parent()
209 if (res != sizeof(child_ctx)) in ext4_is_child_context_consistent_with_parent()
213 child_ctx.master_key_descriptor, in ext4_is_child_context_consistent_with_parent()
216 child_ctx.contents_encryption_mode) && in ext4_is_child_context_consistent_with_parent()
218 child_ctx.filenames_encryption_mode) && in ext4_is_child_context_consistent_with_parent()
219 (parent_ctx.flags == child_ctx.flags); in ext4_is_child_context_consistent_with_parent()